Reducing apache VIRT and RES memory usage
Posted
by
lisa
on Server Fault
See other posts from Server Fault
or by lisa
Published on 2011-09-19T12:10:38Z
Indexed on
2013/11/09
9:59 UTC
Read the original article
Hit count: 320
apache2
|memory-usage
On a quad-core server with 8GB of ram I have apache processes that use up to 2.3GB RES memory and 2.6GB VIRT memory. Here is a copy of the top -c command
Is there a way to reduct the memory usage for these apache processes?
These are my httpd.conf settings
Timeout 160
TraceEnable Off
ServerSignature Off
ServerTokens ProductOnly
FileETag None
StartServers 6
<IfModule prefork.c>
MinSpareServers 4
MaxSpareServers 16
</IfModule>
ServerLimit 400
MaxClients 320
MaxRequestsPerChild 10000
KeepAlive On
KeepAliveTimeout 4
MaxKeepAliveRequests 80
© Server Fault or respective owner