----- "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 > Thanks, > Julien > > -- > No trees were killed in the creation of this message. > However, many electrons were terribly inconvenienced. i -- Igor GaliÄ Tel: +43 (0) 664 886 22 883 Mail: i.galic@xxxxxxxxxxxxxx URL: http://brainsware.org/ --------------------------------------------------------------------- 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