|
#1
|
|||
|
|||
|
I am having an issue w/ apache on my vps (CentOS 5 w/ webmin). For some reason, I can't get apache to open more than 10 spare server processes. I have more than enough ram. I try to change start/min/max spare servers to more than 10 and it never opens more than 10. ServerLimit & MaxClients is set to 150. Anybody else ever have a problem exceeding 10?
I am wondering if it is Virtuozzo related. I have been able to make the change on other CentOS dedicated servers & xen-based vps's without issue. They all open as many spare processes as listed in httpd.conf without issue. I can easily open 100 on a 256MB xen instance. BUT, I have another virtuozzo vps elsewhere and have the same problem. The following modification doesn't work on my Virtuozzo vps: StartServers 15 MinSpareServers 15 MaxSpareServers 25 ServerLimit 150 MaxClients 150 But, if I have 10 or less start/min/max it will always work as directed. |
|
#2
|
|||
|
|||
|
Did you make sure to restart the httpd service after making changes?
To confirm, it is most definitely NOT a Virtuozzo limitation. The 10 server limit is what comes in our default OS build and is easily changed via config files inside the VPS.
__________________
Matt Ayres |
|
#3
|
|||
|
|||
|
Quote:
As stated earlier, I have experienced this with another virtuozzo host as well. But, if I try with a dedicated (non-virtuozzo) server or xen vps, I have no problem exceeding 10 processes. Performance has been good... I am just going nuts with httpd.conf not using the modifications I have made. |
|
#4
|
|||
|
|||
|
Did you make sure to make the changes in /etc/httpd/conf.d/swtune.conf? The Max* options are not in the default httpd.conf, they are in swtune.conf and need to be either changed in there or removed and moved to httpd.conf.
__________________
Matt Ayres |
|
#5
|
|||
|
|||
|
BINGO! That was the problem. Thanks a lot. I have been pulling my hair out on this for the last week.
|
|
#6
|
|||
|
|||
|
I got thee solution too. Nice job man.... thank you.
|
![]() |
«
Previous Thread
|
Next Thread
»
| Thread Tools | |
| Display Modes | |
|
|
All times are GMT. The time now is 07:37 PM.









Linear Mode

