1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

[11.25 Current] apache restarting every hour

Discussion in 'E-mail Discussions' started by iscandr, Oct 11, 2009.

Thread Status:
Not open for further replies.
  1. iscandr

    iscandr New Member

    Joined:
    Oct 11, 2009
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
    Hello everyone,

    After an update to 11.25 apache gracefully restarts every hour. Log rotation and service monitor are disabled. I am unable to track what is causing these restarts.

    /usr/local/apache/logs/error_log

    [notice] Graceful restart requested, doing restart
    [notice] mod_bw : Memory Allocated 0 bytes (each conf takes 28 bytes)
    [notice] mod_bw : Version 0.8 - Initialized [0 Confs]
    [notice] Apache/2.2.13 (Unix) mod_ssl/2.2.13 OpenSSL/0.9.8e-fips-rhel5 mod_auth_passthrough/2.1 mod_bwlimited/1.4 FrontPage/5.0.2.2635 PHP/5.2.11 mod_perl/2.0.4 Perl/v5.8.8 configured -- resuming normal operations

    Do you have any suggestions?
     
  2. thewebhosting

    thewebhosting Active Member

    Joined:
    May 9, 2008
    Messages:
    1,202
    Likes Received:
    1
    Trophy Points:
    38
    Please make sure that you have not set the cronjobs to restart apache every hour?
     
  3. iscandr

    iscandr New Member

    Joined:
    Oct 11, 2009
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
    No such cronjob exists.
     
  4. bvierra

    bvierra Member

    Joined:
    Jul 28, 2006
    Messages:
    55
    Likes Received:
    1
    Trophy Points:
    8
    Location:
    Southern California
    any updates to subdomains, adding removal of accounts? anything that would touch apache?
     
  5. iscandr

    iscandr New Member

    Joined:
    Oct 11, 2009
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
    Nothing touched apache.

    /scripts/fixeverything seems to have fixed the issue.

    apache is now up 2+ hours, running smooth.
     
  6. Reado

    Reado Member

    Joined:
    Sep 8, 2009
    Messages:
    131
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    United Kingdom
    Parent Server Generation: 324

    324 graceful restarts in 4 days !
     
  7. Reado

    Reado Member

    Joined:
    Sep 8, 2009
    Messages:
    131
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    United Kingdom
    [Mon Oct 12 22:27:55 2009] [notice] Graceful restart requested, doing restart
    [Mon Oct 12 22:27:57 2009] [notice] Apache/2.2.13 (Unix) mod_ssl/2.2.13 OpenSSL/0.9.8e-fips-rhel5 mod_bwlimited/1.4 configured -- resuming normal operations
    [Mon Oct 12 22:44:36 2009] [notice] Graceful restart requested, doing restart
    [Mon Oct 12 22:44:37 2009] [notice] Apache/2.2.13 (Unix) mod_ssl/2.2.13 OpenSSL/0.9.8e-fips-rhel5 mod_bwlimited/1.4 configured -- resuming normal operations

    I haven't requested a graceful restart !!!

    Seems to be doing this frequently, every 15 minutes or so!
     
  8. Reado

    Reado Member

    Joined:
    Sep 8, 2009
    Messages:
    131
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    United Kingdom
    This is causing me serious problems - according to Google Analytics Sunday we received lower-than-usual visitors to all sites. Yesterday (which is usually our busiest day) we received ZERO visitors.

    After checking the Apache logs it appears to be restarting every 8 to 15 minutes.

    The restarts I experienced yesterday weren't just graceful restarts, but:

    [Tue Oct 13 09:08:43 2009] [notice] Graceful restart requested, doing restart
    [Tue Oct 13 09:08:43 2009] [error] (9)Bad file descriptor: apr_socket_accept: (client socket)
    [Tue Oct 13 09:08:44 2009] [notice] Apache/2.2.13 (Unix) mod_ssl/2.2.13 OpenSSL/0.9.8e-fips-rhel5 mod_bwlimited/1.4 configured -- resuming normal operations
    [Tue Oct 13 09:17:04 2009] [notice] Graceful restart requested, doing restart
    [Tue Oct 13 09:17:05 2009] [notice] Apache/2.2.13 (Unix) mod_ssl/2.2.13 OpenSSL/0.9.8e-fips-rhel5 mod_bwlimited/1.4 configured -- resuming normal operations
    [Tue Oct 13 09:17:06 2009] [notice] Graceful restart requested, doing restart
    [Tue Oct 13 09:17:06 2009] [error] (9)Bad file descriptor: apr_socket_accept: (client socket)
    [Tue Oct 13 09:17:07 2009] [notice] Apache/2.2.13 (Unix) mod_ssl/2.2.13 OpenSSL/0.9.8e-fips-rhel5 mod_bwlimited/1.4 configured -- resuming normal operations
     
  9. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    12,128
    Likes Received:
    35
    Trophy Points:
    48
    Location:
    Pennsylvania
    I have this going on here as well. Searching my logs for "Graceful restart requested" it's found in every syscheck email since upgrading to 11.25 on Oct 10.
     
  10. cPanelKenneth

    cPanelKenneth cPanel Development
    Staff Member

    Joined:
    Apr 7, 2006
    Messages:
    4,319
    Likes Received:
    8
    Trophy Points:
    38
    We should have a fix for this in tonights 11.25 build ( as long as all goes as planned ).
     
  11. hostmedic

    hostmedic Member

    Joined:
    Apr 30, 2003
    Messages:
    559
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Washington Court House, Ohio, United States
    update in last nights build?

    was the update in last nights build - and if so ...
    do we need to be on edge to grab it -
    and ... if so ...
    do we need to recompile or do anything else afterwards

    Thanks for all your hard work in fixing this issue btw -
     
  12. cPanelNick

    cPanelNick Administrator
    Staff Member

    Joined:
    Mar 9, 2015
    Messages:
    3,452
    Likes Received:
    0
    Trophy Points:
    36
    This is now published in CURRENT 40255. We expect to be able to reduce the restarts some more before RELEASE.
     
  13. Cristi4n

    Cristi4n Member

    Joined:
    Jul 2, 2006
    Messages:
    73
    Likes Received:
    0
    Trophy Points:
    6
    As far as I can see they are doing a graceful restart for every cpanel account. So, now I have for example 800 apache restarts in a few hours when cpanellogd comes is for all my servers with cPanel current.
    I am very happy with this, this is everything I ever wanted from cPanel, every night my servers with cPanel current becomes inaccesible.
    I love you guys.

    Give us a fix for this asap please, I can't take it anymore. Even that stupid, bad written Plesk is better in processing logs, maby you can take a look at how they did it. Come on!

    I already have 40255 and a lot of graceful restarts, as usual.

    I replaced /usr/local/cpanel/bin/safeapacherestart , maby this is better than having the server offline.
     
    #13 Cristi4n, Oct 20, 2009
    Last edited: Oct 20, 2009
  14. Reado

    Reado Member

    Joined:
    Sep 8, 2009
    Messages:
    131
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    United Kingdom
    There's nothing to stop you from moving to RELEASE is there? I did it as there were other issues with CURRENT and I no longer have the problem.
     
  15. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    12,128
    Likes Received:
    35
    Trophy Points:
    48
    Location:
    Pennsylvania
    Since midnight till this post (about 4:30PM) I've found this 11 times today. Yesterday, 14. Day before, 13, total.

    Why not downgrade to release or stable and stay outta trouble? CURRENT is always expected to have a bit more going on.
     
  16. Reado

    Reado Member

    Joined:
    Sep 8, 2009
    Messages:
    131
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    United Kingdom
    I didn't have a problem downgrading to RELEASE however I used the --force option just to be sure. :)
     
  17. Cristi4n

    Cristi4n Member

    Joined:
    Jul 2, 2006
    Messages:
    73
    Likes Received:
    0
    Trophy Points:
    6
    yes, maybe I'm an idiot, anyway I completely forget about RELEASE. Thanks.
     
  18. cPanelKenneth

    cPanelKenneth cPanel Development
    Staff Member

    Joined:
    Apr 7, 2006
    Messages:
    4,319
    Likes Received:
    8
    Trophy Points:
    38
    We are testing a testing a redesign of the log processing mechanism that will significantly reduce the number of restarts. This will be in place before publishing cPanel 11.25 RELEASE.

    For servers that are experiencing hundreds of graceful restarts during log processing we recommend downgrading to cPanel 11.24 ( change to RELEASE or STABLE ).
     
  19. konrath

    konrath Member

    Joined:
    May 3, 2005
    Messages:
    372
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Brasil
    Hello

    9 servers updated, 9 server with same problem.

    I do not understand why I can upgrade to 11.25 if this version has a critical bug.

    Should be locked to upgrade to version 11.25

    I downgraded and now everything is ok. I look forward solution to this problem.

    I need to reactivate the roubcube

    Thank you
    Konrath
     
  20. hostmedic

    hostmedic Member

    Joined:
    Apr 30, 2003
    Messages:
    559
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Washington Court House, Ohio, United States
    restart status ? on 11.25

    What is the status of this now?
    is it safe to be on 11.25?
     
Thread Status:
Not open for further replies.

Share This Page