httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Harrell, Roger" <rjhar...@bechtel.com>
Subject [users@httpd] Apache child process consuming massive RAM
Date Mon, 26 Apr 2004 05:28:57 GMT
I'm running Apache 2.0 on Red Hat Linux 9. Apache is spawning child
processes that are taking 20 MB of RAM each. This very quickly consumes
all of the RAM on the box and bogs the machine down. Here's the
pertinant info from my httpd.conf. Anyone experience this or can see
anything unusal about the config?

ServerTokens OS 

ServerRoot "/etc/httpd" 
PidFile run/httpd.pid 
Timeout 300 
KeepAlive Off 
MaxKeepAliveRequests 100 
KeepAliveTimeout 15 

<IfModule prefork.c> 
StartServers       8 
MinSpareServers    5 
MaxSpareServers   20 
MaxClients       150 
MaxRequestsPerChild  1000 
</IfModule> 

<IfModule worker.c> 
StartServers         2 
MaxClients         150 
MinSpareThreads     25 
MaxSpareThreads     75 
ThreadsPerChild     25 
MaxRequestsPerChild  0 
</IfModule> 

<IfModule perchild.c> 
NumServers           5 
StartThreads         5 
MinSpareThreads      5 
MaxSpareThreads     10 
MaxThreadsPerChild  20 
MaxRequestsPerChild  0 
</IfModule> 

Listen 80 
Include conf.d/*.conf 

LoadModule access_module modules/mod_access.so 
LoadModule auth_module modules/mod_auth.so 
LoadModule auth_anon_module modules/mod_auth_anon.so 
LoadModule auth_dbm_module modules/mod_auth_dbm.so 
LoadModule auth_digest_module modules/mod_auth_digest.so 
LoadModule include_module modules/mod_include.so 
LoadModule log_config_module modules/mod_log_config.so 
LoadModule env_module modules/mod_env.so 
LoadModule mime_magic_module modules/mod_mime_magic.so 
LoadModule cern_meta_module modules/mod_cern_meta.so 
LoadModule expires_module modules/mod_expires.so 
LoadModule headers_module modules/mod_headers.so 
LoadModule usertrack_module modules/mod_usertrack.so 
LoadModule unique_id_module modules/mod_unique_id.so 
LoadModule setenvif_module modules/mod_setenvif.so 
LoadModule mime_module modules/mod_mime.so 
LoadModule dav_module modules/mod_dav.so 
LoadModule status_module modules/mod_status.so 
LoadModule autoindex_module modules/mod_autoindex.so 
LoadModule asis_module modules/mod_asis.so 
LoadModule info_module modules/mod_info.so 
LoadModule dav_fs_module modules/mod_dav_fs.so 
LoadModule vhost_alias_module modules/mod_vhost_alias.so 
LoadModule negotiation_module modules/mod_negotiation.so 
LoadModule dir_module modules/mod_dir.so 
LoadModule imap_module modules/mod_imap.so 
LoadModule actions_module modules/mod_actions.so 
LoadModule speling_module modules/mod_speling.so 
LoadModule userdir_module modules/mod_userdir.so 
LoadModule alias_module modules/mod_alias.so 
LoadModule rewrite_module modules/mod_rewrite.so 
LoadModule proxy_module modules/mod_proxy.so 
LoadModule proxy_ftp_module modules/mod_proxy_ftp.so 
LoadModule proxy_http_module modules/mod_proxy_http.so 
LoadModule proxy_connect_module modules/mod_proxy_connect.so 

<IfModule prefork.c> 
LoadModule cgi_module modules/mod_cgi.so 
</IfModule> 

<IfModule worker.c> 
LoadModule cgid_module modules/mod_cgid.so 
</IfModule> 

Thanks in advance 
Roger 


Mime
View raw message