httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Julien Cigar <jci...@ulb.ac.be>
Subject Re: [users@httpd] connection is resetting
Date Thu, 25 Nov 2010 14:32:50 GMT
On 11/25/2010 15:11, Igor Galić wrote:
>
> ----- "Julien Cigar"<jcigar@ulb.ac.be>  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.

Mime
View raw message