RE: Apache crashes under keep-alive test

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I tried different combination of the ServerLimit and MaxClients, as well as setting higher the timeout for keep-alive requests.

<IfModule mpm_prefork_module>
    StartServers        10
    MinSpareServers     10
    MaxSpareServers     20
    ServerLimit         1000
    MaxClients          1000
    MaxRequestsPerChild 10000
</IfModule>

If I run "ps aux" I see a lot of httpd processes started, but when doing "top" I do not see any of those processes running for some seconds (but when running the same test but without keep-alive, or without any waiting time it displays some of the httpd processes).

The error log file displays the next:
[Tue Apr 12 13:51:22 2011] [error] server reached MaxClients setting, consider raising the MaxClients setting

Thanks.

-----Original Message-----
From: Eric Covener [mailto:covener@xxxxxxxxx]
Sent: martes, 12 de abril de 2011 13:38
To: users@xxxxxxxxxxxxxxxx
Subject: Re:  Apache crashes under keep-alive test

> I tried to increase the ServerLimit and MaxClients directives, but it does
> not improve the test (or at least the numbers I tried). If I change the test
> to be done with HTTP 1.0, then the test is done perfectly, without any
> error. And if I reduce the waiting time between requests the test completes
> successfully.

Post what you tried. The values you have are simply too small.

---------------------------------------------------------------------
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@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


Este mensaje se dirige exclusivamente a su destinatario. Puede consultar nuestra polÃtica de envÃo y recepciÃn de correo electrÃnico en el enlace situado mÃs abajo.
This message is intended exclusively for its addressee. We only send and receive email on the basis of the terms set out at.
http://www.tid.es/ES/PAGINAS/disclaimer.aspx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux