httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Samuel <liste-apa...@ingescom.com>
Subject Re: [users@httpd] high volume freeze the machine
Date Sat, 31 Dec 2011 09:43:27 GMT
Le 31/12/2011 02:19, Igor Galić a écrit :

> ----- Original Message -----
>> Hi,
>
> Hi Samuel,
>
>> We got some problem of apache freezing and system going down.
>>
>> The virtual guest httpd (we don't manage the host) is a 4 cpu machine
>> with 32 GB RAM on debian Lenny.
>>
>> Around 3 000 or 4 000 high volume php website are on the virtual
>> machine. We see with apache2ctl fullstatus that there is sometime a
>> lot
>> of process with W status not killed when the machine going down ...
>> and
>> if we kill that PID the machine doesn't go down and we can take the
>> control easy again with no lag.
>>
>> So for starting, and for a volume of 5 req/sec and 150 Kb /s but for
>> an
>> inactive period, how can we tune our config :
>>
>> <IfModule mpm_prefork_module>
>>       StartServers          5
>>       MinSpareServers       5
>>       MaxSpareServers      20
>>       MaxClients          90
>>       MaxRequestsPerChild   0
>> </IfModule>
>>
>> We would like that 200 persons could be connected with a 150 MB
>> memory
>> per apache process.
>>
>> How to tune apache to achieve this and of course not freezing like
>> now ?
>>
>> P.S. the heavy framework Symfony is working with apache.
>
> Please take a look at our (new) performance docs
>
>    http://wiki.apache.org/httpd/PerformanceScalingUp

That is good docs, I'm going to read it.

> Then come back with (more, more concrete?) questions
> so we can improve those docs ;)

Ok, I will come back ;-)

Thanks thanks

Samuel.

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


Mime
View raw message