Plesk under Virtuozzo (hits MaxClients) has maximum of 11 httpd processes
|
Nov 5, 2008, 04:21 AM
|
|
|---|---|
danbell Genus Extraordinaire Join: Nov 2001 Posts: 8 |
Plesk under Virtuozzo (hits MaxClients) has maximum of 11 httpd processes I have quite a powerful 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 resources are not limited as this is the only container on the box and the system is not very busy (load average is normally 0.05 or 0.10). No real load and memory usage is about 264MB. 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 /etc/httpd/conf/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> /var/log/httpd/error_log reports the following, usually very quickly like this example is 5 seconds. [Mon Nov 03 14:53:48 2008] [notice] Apache/2.2.3 (CentOS) configured -- resuming normal operations [Mon Nov 03 14:53:53 2008] [error] server reached MaxClients setting, consider raising the MaxClients setting Am I missing something here. Is this a Plesk apache binary limit? Is there something I'm doing wrong in Virtuozzo? Ideas? Thanks. |
|
Nov 5, 2008, 09:23 AM
|
|
|---|---|
HostColor Junior Member Join: Nov 2008 Posts: 3 |
Check /etc/httpd/conf.d/swtune.conf
__________________ [COLOR="Navy"][B]Host Color LLC[/B][/COLOR] [B]Quality [URL="http://www.hostcolor.com/vps"][COLOR="DarkOrange"][B]VPS Hosting[/B][/COLOR][/URL] | [URL="http://www.hostcolor.com/dedicatedhosting"][COLOR="Navy"][B]Dedicated Hosting[/B][/COLOR][/URL] since 2000[/B] Data centers in Indiana, U.S., Amsterdam, The Netherlands |
« Previous Thread | Next Thread »
| Search this thread | Forum jump |
|---|---|
| Thread tools | Display modes |
|---|---|
|
Linear Mode
|