5

Apache prefork optimization - Choosing the right `MaxRequestsPerChild` value

view full story
linux-howto

http://serverfault.com – I'm trying to optimize our web servers to handle as much connections as possible. I read a many posts and the Apache notes. I'm trying to understand which value should I choose for MaxRequestsPerChild. At first, I've tried setting it to 4,000, but the server had difficulties handling many request, so I've started raising it. At the moment my setting are: <IfModule prefork.c> StartServers 8 MinSpareServers 5 MaxSpareServers 20 ServerLimit 256 MaxClients 256 MaxRequestsPerChild 40000 </IfModule> After setting the MaxRequestsPerChild to 40,000 the server man (HowTos)