The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

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:
    66
    Likes Received:
    0
    Trophy Points:
    6
    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. :)
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,678
    Likes Received:
    653
    Trophy Points:
    113
    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.
     
  3. SecondSight

    SecondSight Well-Known Member

    Joined:
    Jun 30, 2004
    Messages:
    66
    Likes Received:
    0
    Trophy Points:
    6
    Hello ! :)

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

    Thank you. :)
     
Loading...

Share This Page