Solution for Graceful restart taking a long time ?

SecondSight

Well-Known Member
Jun 30, 2004
70
2
156
Hello ! :)

I have a new server and when there is an Apache graceful restart, I experience a downtime of about one minute.

Here is my Apache configuration :

Start Servers - 50
Minimum Spare Servers - 5
Maximum Spare Servers - 10
Server Limit - 500
Max Clients - 500
Max Requests Per Child - 300
Keep-Alive - On
Keep-Alive Timeout - 5
Max Keep-Alive Requests - 100
Timeout - 30

Apache version is 2.2.25.

Is there a solution, something which can be done to fix this problem ?

Thank you. :)
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,913
2,201
363
Hello :)

You can try enabling Piped Logging via:

"WHM Home » Service Configuration » Apache Configuration » Piped Log Configuration"

Enabling this feature causes WHM to pipe Apache access logs to a separate process, so that Apache does not need to restart every time the logs are processed.

Thank you.
 

SecondSight

Well-Known Member
Jun 30, 2004
70
2
156
Hello ! :)

I've tried this and it appears that I no longer have the downtime problem. :)

Thank you. :)