Quote:
Originally Posted by KlenTelaris
Btw borked can you post httpd -m on that machine where you optimized apache ?
|
well, it's pretty useless for anyone to follow since it's specific to the sites that run on that server... trying to copy will most likely break your sites. You just have to go through your own list and see what is unnecessary for your sites (and perhaps load them only in the particular vhost config for site-specific modules)
anyway, here's the list for the member site server running at a few hundred mbs:
Code:
Loaded Modules:
core_module (static)
mpm_prefork_module (static)
http_module (static)
so_module (static)
include_module (shared)
log_config_module (shared)
logio_module (shared)
env_module (shared)
ext_filter_module (shared)
mime_magic_module (shared)
expires_module (shared)
deflate_module (shared)
headers_module (shared)
usertrack_module (shared)
setenvif_module (shared)
mime_module (shared)
status_module (shared)
autoindex_module (shared)
info_module (shared)
vhost_alias_module (shared)
negotiation_module (shared)
dir_module (shared)
actions_module (shared)
alias_module (shared)
rewrite_module (shared)
cgi_module (shared)
version_module (shared)
php5_module (shared)
Syntax OK
Other important info:
Code:
CoreDumpDirectory /var/apache-core-dumps
ServerRoot "/etc/httpd"
PidFile run/httpd.pid
Timeout 10
KeepAlive On
MaxKeepAliveRequests 100
KeepAliveTimeout 3
<IfModule prefork.c>
StartServers 50
MinSpareServers 75
MaxSpareServers 150
ServerLimit 700
MaxClients 700
MaxRequestsPerChild 100
</IfModule>
And by offloading static graphics to nginx, apache bw is pure code..
here are the stats at the low point of the day (current bw 154mbs)
Code:
CPU Usage: u2635.41 s536.09 cu0 cs0 - .704% CPU load
21.7 requests/sec - 162.1 kB/second - 7.5 kB/request
20 requests currently being processed, 110 idle workers
__KK___________W____________W__________W___W_K_____________C____
_K_______C__________________C_________C__CKK_K......__WK_W____W_
________........................................................
................................................................
................................................................
................................................................
................................................................
................................................................
................................................................
................................................................
............................................................