Apache

Apache: Memory Leak - Tweaking Prefork

On htop, got over 100 apache threads.

Changed

<IfModule mpm_prefork_module>
StartServers 5
MinSpareServers 5
MaxSpareServers 10
MaxRequestWorkers 150
MaxConnectionsPerChild 0
</IfModule>

 

To

<IfModule mpm_prefork_module>
StartServers 5
MinSpareServers 5
MaxSpareServers 10
MaxRequestWorkers 150
MaxConnectionsPerChild 5000
</IfModule>

Will test.

Attachments:

Leave a Reply

Your email address will not be published. Required fields are marked *