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!

Apache Restarting

Discussion in 'EasyApache' started by mehrana, Jan 14, 2013.

  1. mehrana

    mehrana Registered

    Joined:
    Jan 14, 2013
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    I have the same problme in a new instalation,

    I see this in error log:
    Graceful restart requested, doing restart

    server goes away for 5 min and all the site stop working,
    after that again start working, also I didn't find any exact time fro restart, it's random

    Help Please.
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,367
    Likes Received:
    1,855
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello :)

    I moved this response into it's own thread because it was posted to an unrelated discussion. Graceful restarts for Apache are normal every 2 hours and every 24 hours due to the default statistics processing intervals. You can see this by running a command such as:

    Code:
    # grep "Graceful restart" /usr/local/apache/logs/error_log
    However, it should not take five minutes for your websites to begin loading after a graceful restart of Apache. Do you notice the same behavior when you restart Apache manually?

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. hgrg

    hgrg Well-Known Member

    Joined:
    Oct 4, 2010
    Messages:
    90
    Likes Received:
    0
    Trophy Points:
    56
    cPanel Access Level:
    Root Administrator
    i think that means a server reboot not a server restarting..
     
  4. quietFinn

    quietFinn Well-Known Member

    Joined:
    Feb 4, 2006
    Messages:
    998
    Likes Received:
    11
    Trophy Points:
    168
    Location:
    Finland
    cPanel Access Level:
    Root Administrator
    Well you are wrong.

    When I execute command:
    Code:
    /etc/rc.d/init.d/httpd -k graceful
    
    I see this in /usr/local/apache/logs/error_log
    Code:
    [Tue Jan 15 04:53:42 2013] [notice] Graceful restart requested, doing restart
    [Tue Jan 15 04:53:42 2013] [notice] SSL FIPS mode disabled
    [Tue Jan 15 04:53:42 2013] [notice] Apache/2.2.23 (Unix) mod_ssl/2.2.23 OpenSSL/1.0.0-fips mod_auth_passthrough/2.1 mod_bwlimited/1.4 FrontPage/5.0.2.2635 configured -- resuming normal operations
    
    
     
    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