Why after increasing the value of "MinSpareServers" server load increased?

Solution Unverified - Updated -

Environment

  • Red Hat Enterprise Linux 5.7
  • httpd-2.2.3-53.el5_7.3

Issue

  • Why after increasing the value of MinSpareServers server load increased?

Resolution

  • If you want to set the value of MinSpareServers to 1000 to mantain the high traffic load but in normal situation increase in the MinSpareServers to a large number is unnecessarily creates a heavy processing load on the server.

  • The MinSpareServers directive sets the desired minimum number of idle child server processes.

  • An idle process is one which is not handling a request. If there are fewer than MinSpareServers idle, then the parent process creates new children at a maximum rate of 1 per second.

  • Tuning of this parameter should only be necessary on very busy sites. Setting this parameter to a large number is almost always a bad idea.

  • It is always suggested that as per the requirement you have to tune it for your apache server but not necessarily to 1000.

This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.

Comments