high volume freeze the machine

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

 



Hi,

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.

Thanks a lot.

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