Results 1 to 4 of 4

Thread: Apache Restarting Every 1-2 Hours

  1. #1
    Registered Member
    Join Date
    Sep 2009
    Posts
    40

    Default Apache Restarting Every 1-2 Hours

    So I'm seeing Apache restart every one to two hours in the error_log, like this:

    Code:
    [Sat Jul 10 10:02:33 2010] [notice] Graceful restart requested, doing restart
    [Sat Jul 10 10:02:34 2010] [notice] Apache/2.0.63 (Unix) mod_ssl/2.0.63 OpenSSL/0.9.8e-fips-rhel5 mod_auth_passthrough/2.1 mod_bwlimited/1.4 FrontPage/5.0.2.2635 configured -- resuming normal operations
    The only (cPanel) thread I saw on this appears to be for an issue that was apparently fixed back in January. Any ideas what this is or where I would begin troubleshooting it?

  2. #2
    Registered Member Miraenda's Avatar
    Join Date
    Jul 2004
    Location
    Coralville, Iowa USA
    Posts
    243

    Default

    These graceful restarts are part of the log rotation. If you want to minimize the restarts, which shouldn't impact Apache services as they are a graceful restart not a SIGHUP, then you may want to consider switching to the piped logging option instead for logging.

    WHM > Apache Configuration > Piped Log Configuration and check "Enable piped Apache logs" then click Save button.

    Here's a discussion on piped logging and the graceful restarts on this forum:

    http://forums.cpanel.net/f5/cpanel-1...ng-145417.html

  3. #3
    Registered Member
    Join Date
    Sep 2009
    Posts
    40

    Default

    Ah-ha! I looked through a closed thread that linked to that thread, but never actually read the one you're referring to. As long as its designed behavior, I'm fine with it. Thank you for the info.

  4. #4
    Registered Member Miraenda's Avatar
    Join Date
    Jul 2004
    Location
    Coralville, Iowa USA
    Posts
    243

    Default

    You're very welcome and I'm glad I could help

Similar Threads

  1. Why is apache restarting every two hours?
    By aww in forum EasyApache
    Replies: 9
    Last Post: 01-24-2012, 02:09 PM
  2. Help! Apache crashes every few hours :/
    By student in forum EasyApache
    Replies: 1
    Last Post: 11-18-2007, 05:16 PM
  3. broken apache!!! 10 hours my apache is down!! help!!!
    By the_bobara in forum EasyApache
    Replies: 5
    Last Post: 09-23-2005, 02:15 AM
  4. Apache crash every 10-12 hours
    By cosmin in forum EasyApache
    Replies: 17
    Last Post: 04-06-2004, 10:14 PM
  5. apache failing every 3 hours
    By totalufo in forum EasyApache
    Replies: 12
    Last Post: 03-12-2002, 10:53 PM
bargain