Re: connection is resetting

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

 



On 11/25/2010 15:11, Igor GaliÄ wrote:

----- "Julien Cigar"<jcigar@xxxxxxxxx>  wrote:

Hello,

I'm running Apache 2.2.16 with the worker MPM on a FreeBSD 8.1 (amd64)

machine. Apart from the standard modules, I'm using mod_fastcgi and
mod_passenger (2.2.15).
It works well, except that from time to time, about once every two
weeks, Apache refuses to serve requests (even server-status or
server-info) and I get a message in the web client (Firefox) saying
that
the connection has been reset.

I notice that it happens just after the following message in the error

log file:
[Wed Nov 24 14:11:55 2010] [error] server reached MaxClients setting,

consider raising the MaxClients setting

This is very strange because the server isn't very loaded and I'm
pretty
sure that MaxClients isn't reached.

I'm using the following configuration:
<IfModule mpm_worker_module>
      StartServers        3
      MaxClients          200
      MinSpareThreads     25
      MaxSpareThreads     75
      ThreadsPerChild     25
      MaxRequestsPerChild 10000
</IfModule>

Any idea what could be the problem?

The problem is that you're asking your server to service more than
200 Clients at the same time.
http://httpd.apache.org/docs/trunk/mod/mpm_common.html#maxclients
See also:
http://wiki.apache.org/httpd/PerformanceScalingUp#Sizing_MaxClients

Check mod_status. Check passenger-status:
http://www.modrails.com/documentation/Users%20guide%20Apache.html#_inspecting_phusion_passenger_8217_s_internal_status



The problem is that I've never 200 clients at the same time ... :)


Thanks,
Julien

--
No trees were killed in the creation of this message.
However, many electrons were terribly inconvenienced.

i



--
No trees were killed in the creation of this message.
However, many electrons were terribly inconvenienced.
begin:vcard
fn:Julien Cigar
n:Cigar;Julien
org;quoted-printable:Belgian Biodiversity Platform;ULB (Universit=C3=A9 Libre de Bruxelles)
adr:;;;Brussels;;;Belgium
email;internet:jcigar@xxxxxxxxx
tel;work:+32(0)26505752
x-mozilla-html:FALSE
url:http://www.biodiversity.be
version:2.1
end:vcard

---------------------------------------------------------------------
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

[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