Saturday, November 5, 2016

How to calculate the MaxClient value in apache?




I want to set an optimum value for MaxClient in apache for my production server.

What are the parameters that I should consider while calculating this value ?


Answer



Refer to the Apache Performance Tuning guide.



Quote



"You can, and should, control the MaxClients setting so that your server does not spawn   
so many children it starts swapping. This procedure for doing this is simple: determine
the size of your average Apache process, by looking at your process list via a tool such
as top, and divide this into your total available memory, leaving some room for other

processes."

No comments:

Post a Comment

linux - How to SSH to ec2 instance in VPC private subnet via NAT server

I have created a VPC in aws with a public subnet and a private subnet. The private subnet does not have direct access to external network. S...