Ivan Voras wrote:
There is another thing you can try. Judging from the process size you've
given it looks like you are not using PHP or a similar Apache module.
Also, you didn't specify anything so I assume you are using the default
configuration, which operates in "prefork" mode - MPM_PREFORK, which
means a separate process is forked for every request.
If all of this is true, you can trivially switch to the worker-threaded
MPM in which every Apache process (which will be of comparable size to
the one you currently have) will handle a large number of request. In
effect, instead of e.g. 50 Apache processes active for 50 connections,
you will have 2-3 Apache processes.
Enable WITH_MPM=worker in /etc/make.conf to enable this.
I am using PHP, in fact. I've listed all the loaded modules below, and
marked the ones I added with an '*'. I need the proxy modules because I
use Apache as a front end for Mongrel.
BTW, this is Apache 2.2 on FreeBSD 7.1
This WITH_MPM=worker sounds interesting. I'll have to read up on it. I
guess there is some downside to enabling it, like slower performance?
-- John
Loaded Modules:
core_module (static)
mpm_prefork_module (static)
http_module (static)
so_module (static)
authn_file_module (shared)
authn_dbm_module (shared)
authn_anon_module (shared)
authn_default_module (shared)
authn_alias_module (shared)
authz_host_module (shared)
authz_groupfile_module (shared)
authz_user_module (shared)
authz_dbm_module (shared)
authz_owner_module (shared)
authz_default_module (shared)
auth_basic_module (shared)
auth_digest_module (shared)
file_cache_module (shared)
cache_module (shared)
disk_cache_module (shared)
dumpio_module (shared)
include_module (shared)
filter_module (shared)
charset_lite_module (shared)
deflate_module (shared)
log_config_module (shared)
logio_module (shared)
env_module (shared)
mime_magic_module (shared)
cern_meta_module (shared)
expires_module (shared)
headers_module (shared)
usertrack_module (shared)
unique_id_module (shared)
setenvif_module (shared)
version_module (shared)
*proxy_module (shared)
*proxy_http_module (shared)
*proxy_balancer_module (shared)
*ssl_module (shared)
mime_module (shared)
*dav_module (shared)
status_module (shared)
autoindex_module (shared)
asis_module (shared)
info_module (shared)
cgi_module (shared)
dav_fs_module (shared)
vhost_alias_module (shared)
negotiation_module (shared)
dir_module (shared)
imagemap_module (shared)
actions_module (shared)
speling_module (shared)
userdir_module (shared)
alias_module (shared)
*rewrite_module (shared)
*php5_module (shared)
Syntax OK
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"