Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Solution for Graceful restart taking a long time ?

Discussion in 'General Discussion' started by SecondSight, Sep 12, 2013.

  1. SecondSight

    SecondSight Well-Known Member

    Joined:
    Jun 30, 2004
    Messages:
    70
    Likes Received:
    0
    Trophy Points:
    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. :)
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    43,698
    Likes Received:
    1,789
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    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.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. SecondSight

    SecondSight Well-Known Member

    Joined:
    Jun 30, 2004
    Messages:
    70
    Likes Received:
    0
    Trophy Points:
    156
    Hello ! :)

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

    Thank you. :)
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice