You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Marion McCoskey <mc...@gmail.com> on 2011/04/20 05:04:21 UTC

[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

<IfModule prefork.c>
StartServers      8
MinSpareServers    5
MaxSpareServers   20
ServerLimit      256
MaxClients       256
MaxRequestsPerChild  150
</IfModule>

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 <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] server limit stuck at 10

Posted by Igor Cicimov <ic...@gmail.com>.
So do what the error says: increase the ServerLimit

On Apr 20, 2011 1:04 PM, "Marion McCoskey" <mc...@gmail.com> 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

<IfModule prefork.c>
StartServers      8
MinSpareServers    5
MaxSpareServers   20
ServerLimit      256
MaxClients       256
MaxRequestsPerChild  150
</IfModule>

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 <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
  "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org