D
danbell
Guest
I have a CentOS5 x86_64 machine with dual 2.33 quad core Xeon CPUs and 4GB of RAM running Plesk 8.6.0 under Virutozzo 4.0. The system is not busy. No real load and memory usage is about 248MB. However, I keep hitting MaxClients for httpd, regardless of what I increase the MaxClients and ServerLimit to. One funny thing I did notice was that if I specified, say 20 or 40 StartServers, it doesn't seem to wind up with that many processes. In fact, I have not seen more than 11 httpd processes running at one time. I tend to hit MaxClients within 5 or 10 seconds of an apache restart, even though I only have 50-100 hits. This is my current httpd.conf
<IfModule prefork.c>
StartServers 50
MinSpareServers 25
MaxSpareServers 50
ServerLimit 512
MaxClients 512
MaxRequestsPerChild 4000
</IfModule>
# worker MPM
# StartServers: initial number of server processes to start
# MaxClients: maximum number of simultaneous client connections
# MinSpareThreads: minimum number of worker threads which are kept spare
# MaxSpareThreads: maximum number of worker threads which are kept spare
# ThreadsPerChild: constant number of worker threads in each server process
# MaxRequestsPerChild: maximum number of requests a server process serves
<IfModule worker.c>
StartServers 50
MaxClients 512
MinSpareThreads 25
MaxSpareThreads 75
ThreadsPerChild 25
MaxRequestsPerChild 4000
</IfModule>
Am I missing something here. Is this a Plesk apache binary limit? Is there something I'm doing wrong in Virtuozzo? Ideas? Thanks.
<IfModule prefork.c>
StartServers 50
MinSpareServers 25
MaxSpareServers 50
ServerLimit 512
MaxClients 512
MaxRequestsPerChild 4000
</IfModule>
# worker MPM
# StartServers: initial number of server processes to start
# MaxClients: maximum number of simultaneous client connections
# MinSpareThreads: minimum number of worker threads which are kept spare
# MaxSpareThreads: maximum number of worker threads which are kept spare
# ThreadsPerChild: constant number of worker threads in each server process
# MaxRequestsPerChild: maximum number of requests a server process serves
<IfModule worker.c>
StartServers 50
MaxClients 512
MinSpareThreads 25
MaxSpareThreads 75
ThreadsPerChild 25
MaxRequestsPerChild 4000
</IfModule>
Am I missing something here. Is this a Plesk apache binary limit? Is there something I'm doing wrong in Virtuozzo? Ideas? Thanks.