Need suggestions for Apache optimization...
Please only respond IF you're experienced with single sites with more than 1600 people on at once.Running an hSphere cluster on two Dual Opterons. The DB server is more than fine and has been optimized severely.
Just need some help optimizing the web server, a Dual Opteron 246, 2 gigs RAM, 1x200 gig SATA drive.
On peak usage, there could be 2500 - 3500 (or more, we're on pace to reach that quite easily in two weeks) browsing the server at times. I want to get Apache as fast as possible would would like some ideas for some additional tweaks/adjustments. As I said, this server has 2 gigs of RAM, but in the end, only 50 or so megs are free. MySQL is running on a separate server, this server handles DNS, Email, FTP and Apache. We're not touching swap space yet.
Any ideas for improving/tweaking the config file I've got below would be most welcome.
Please only respond IF you're experienced with single sites with more than 1600 people on at once.
ServerType standalone
ServerRoot "/hsphere/shared/apache"
PidFile /hsphere/local/var/httpd/logs/httpd.pid
ScoreBoardFile /hsphere/local/var/httpd/logs/httpd.scoreboard
Timeout 300
KeepAlive Off
MaxKeepAliveRequests 250
KeepAliveTimeout 10
MinSpareServers 10
MaxSpareServers 25
StartServers 10
MaxClients 500
MaxRequestsPerChild 50
LoadModule mmap_static_module libexec/mod_mmap_static.so
LoadModule agent_log_module libexec/mod_log_agent.so
LoadModule referer_log_module libexec/mod_log_referer.so
LoadModule db_auth_module libexec/mod_auth_db.so
LoadModule digest_auth_module libexec/mod_auth_digest.so
#LoadModule example_module libexec/mod_example.so
LoadModule throttle_module libexec/mod_throttle.so
LoadModule php4_module libexec/libphp4.so
LoadModule scgi_module libexec/mod_scgi.so
#LoadModule jk_module libexec/mod_jk.so
LoadModule evasive_module libexec/mod_evasive.so
ClearModuleList
AddModule mod_mmap_static.c
AddModule mod_vhost_alias.c
AddModule mod_env.c
AddModule mod_define.c
AddModule mod_log_config.c
AddModule mod_log_agent.c
AddModule mod_log_referer.c
AddModule mod_mime_magic.c
AddModule mod_mime.c
AddModule mod_negotiation.c
AddModule mod_status.c
AddModule mod_info.c
AddModule mod_include.c
AddModule mod_autoindex.c
AddModule mod_dir.c
AddModule mod_cgi.c
AddModule mod_asis.c
AddModule mod_imap.c
AddModule mod_actions.c
AddModule mod_speling.c
#AddModule mod_userdir.c
AddModule mod_alias.c
AddModule mod_rewrite.c
AddModule mod_access.c
AddModule mod_auth.c
AddModule mod_auth_anon.c
AddModule mod_auth_dbm.c
AddModule mod_auth_db.c
AddModule mod_digest.c
AddModule mod_auth_digest.c
AddModule mod_proxy.c
AddModule mod_cern_meta.c
AddModule mod_expires.c
AddModule mod_headers.c
AddModule mod_usertrack.c
#AddModule mod_example.c
AddModule mod_unique_id.c
AddModule mod_so.c
AddModule mod_setenvif.c
AddModule mod_throttle.c
#AddModule mod_frontpage.c
#AddModule mod_jk.c
<IfDefine SSL>
AddModule mod_ssl.c
</IfDefine>
AddModule mod_php4.c
AddModule mod_scgi.c
AddModule mod_evasive.c
ExtendedStatus On
HostnameLookups Off
LogLevel warn
ServerSignature Off
ServerTokens ProductOnly
Thanks.
