Something wrong with my apache...

Status
Not open for further replies.

somik

Active Member
861
2010
72
10
My /var/log/httpd/error_log

Code:
WARNING: MaxClients of 2000 exceeds ServerLimit value of 10 servers,
 lowering MaxClients to 10.  To increase, please see the ServerLimit
 directive.

My /etc/httpd/conf/httpd.conf

Code:
<IfModule prefork.c>
StartServers       15
MinSpareServers    15
MaxSpareServers   50
ServerLimit      2000
MaxClients       2000
MaxRequestsPerChild  4000
</IfModule>

Even though i set the server limit to 2000 its still saying server limit is 10...


What should i do? 10 connections means if i open site with a browser, and start to download a file with IDM, all 10 connections are utilized so my server is inaccessible by everyone else... :(

I am using CentOS 5.5 on a OpenVZ VPS. The OS template is from OpenVZ wiki. The httpd was installed with:
Code:
yum install httpd -y


Please help!
 
3 comments
You need to fully stop, and then start the server for the serverlimit directive to take effect.

service httpd stop
service httpd start
 
Status
Not open for further replies.
Back
Top