|Parent Server Generation Increasing.|
| 11:55 am on May 28, 2013 (gmt 0)|
I just got a new VPS, which is running with Cpanel and WHM. I keep checking the Apache status and the Parent Server Generation is now at 45.
I read a few forums and understood that it is the number of times the Apache is restarted (correct me if I'm wrong)
The server is 3 days old and I have gracefully restarted it only 1 time.
Can someone explain the number, also if this is evil and needs to be resolved.
| 10:40 pm on May 28, 2013 (gmt 0)|
what is your MaxRequestsPerChild setting?
| 6:20 pm on Jun 3, 2013 (gmt 0)|
From where do I get this value?
| 8:46 pm on Jun 3, 2013 (gmt 0)|
You don't get the value; you set it. You may want to spend some time getting friendly with your config file. Better you than me.
Apache says ominously that although the default is 10,000, "Many default configurations provided with the server" involve setting it to 0. Zero, none, off. Ouch.
| 10:53 pm on Jun 3, 2013 (gmt 0)|
The default in Cpanel is to run statistics every two hours and every 24 hours. That's 13 graceful restarts each day. If you were at 3.5 days when you posted this, that would work out to:
3 + (3.5 x 24 / 2), or 45 graceful restarts.
It can also be indicative of the error log filling up. Besides the above advice provided by others, I would suggest:
Take a look, or have someone take a look, at the error log to see if Apache is filling the logs with an error condition.
If everything looks okay, explore the use of Piped Logging, that will stop the graceful restarts.
Hope this helps, just another suggestion.