[users@httpd] server limit stuck at 10
I have an unmanaged site, alrightsounds.com, running CentOS. The ServerLimt seems to be stuck at 10. This works OK when most of the people in China a asleep, but... << WARNING: MaxClients of 256 exceeds ServerLimit value of 10 servers, lowering MaxClients to 10. To increase, please see the ServerLimit directive. [Tue Apr 19 09:37:51 2011] [notice] Digest: generating secret for digest authent ication ... [Tue Apr 19 09:37:51 2011] [notice] Digest: done [Tue Apr 19 09:37:51 2011] [warn] WARNING: Attempt to change ServerLimit ignored during restart [Tue Apr 19 09:37:51 2011] [notice] Apache/2.2.3 (CentOS) configured -- resuming normal operations >> After the reboot of Apache, I get this << [root@server1 httpd]# ps -e |grep httpd |wc 11 44 330 >> And I can't get the site on my browser. << [root@server1 httpd]# httpd -t Syntax OK [root@server1 httpd]# httpd -l Compiled in modules: core.c prefork.c http_core.c mod_so.c >> Here is the prefork section of httpd.conf StartServers 8 MinSpareServers5 MaxSpareServers 20 ServerLimit 256 MaxClients 256 MaxRequestsPerChild 150 I have re-installed apache and tried it with the default httpd.conf, and I still have the same problem. Thanks, Marion - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org " from the digest: users-digest-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org
[users@httpd] server limit stuck at 10
Igor Cicimo said: >So do what the error says: increase the ServerLimit I've tried that a lot of times. Maybe I am doing it wrong. My understanding is that the "" section of httpd.conf is where this directive is read when using the prefork module. When I change this value, the error message I get sometimes reflects the value I have put in. I have tried various values for ServerLimit and MaxClients, but no joy. My site has one gig memory and 2 gigs burstable. As I said in my original post: << Here is the prefork section of httpd.conf StartServers 8 MinSpareServers5 MaxSpareServers 20 ServerLimit 256 MaxClients 256 MaxRequestsPerChild 150 >> If I should be setting the ServerLimit some other way, I would be very happy to hear what that is. I am currently working on switching the site from php to html so I can use the threaded model and get rid of the php overhead from the server. I currently use perl programs to generate most of the php code for the site anyway. I am switching the code to C because I am not that fluent in perl and I spend too much time looking things up. But if I can solve this problem some other way, I might reconsider that plan. Thanks, Marion - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org " from the digest: users-digest-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org
Re: [users@httpd] server limit stuck at 10
So do what the error says: increase the ServerLimit On Apr 20, 2011 1:04 PM, "Marion McCoskey" wrote: I have an unmanaged site, alrightsounds.com, running CentOS. The ServerLimt seems to be stuck at 10. This works OK when most of the people in China a asleep, but... << WARNING: MaxClients of 256 exceeds ServerLimit value of 10 servers, lowering MaxClients to 10. To increase, please see the ServerLimit directive. [Tue Apr 19 09:37:51 2011] [notice] Digest: generating secret for digest authent ication ... [Tue Apr 19 09:37:51 2011] [notice] Digest: done [Tue Apr 19 09:37:51 2011] [warn] WARNING: Attempt to change ServerLimit ignored during restart [Tue Apr 19 09:37:51 2011] [notice] Apache/2.2.3 (CentOS) configured -- resuming normal operations >> After the reboot of Apache, I get this << [root@server1 httpd]# ps -e |grep httpd |wc 11 44 330 >> And I can't get the site on my browser. << [root@server1 httpd]# httpd -t Syntax OK [root@server1 httpd]# httpd -l Compiled in modules: core.c prefork.c http_core.c mod_so.c >> Here is the prefork section of httpd.conf StartServers 8 MinSpareServers5 MaxSpareServers 20 ServerLimit 256 MaxClients 256 MaxRequestsPerChild 150 I have re-installed apache and tried it with the default httpd.conf, and I still have the same problem. Thanks, Marion - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org " from the digest: users-digest-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org