There was a task to configure the Apache for better performance. At the moment there are problems with memory overflow and server crash.
On the server only Apache (2.2) and PHP 5.5
The total amount of RAM 4 GB.
There is a mpm_prefork module with the following settings:
<IfModule mpm_prefork_module> ServerLimit 1000 StartServers 10 MinSpareServers 10 MaxSpareServers 50 MaxClients 1000 KeepAlive Off MaxRequestsPerChild 5000 ListenBacklog 100 </IfModule> Actually, these settings and cause most of the questions. What can be changed for the better?
memory_limit? - vp_arthк лучшему? To give extra users? If there is a permanent excess of traffic - it's time to grow horizontally. - vp_arth