[11.25 Current] apache restarting every hour

Status
Not open for further replies.

iscandr

Registered
Oct 11, 2009
4
0
51
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?
 

thewebhosting

Well-Known Member
May 9, 2008
1,201
1
68
Please make sure that you have not set the cronjobs to restart apache every hour?
 

bvierra

Well-Known Member
Jul 28, 2006
55
1
158
Southern California
any updates to subdomains, adding removal of accounts? anything that would touch apache?
 

iscandr

Registered
Oct 11, 2009
4
0
51
Nothing touched apache.

/scripts/fixeverything seems to have fixed the issue.

apache is now up 2+ hours, running smooth.
 

Reado

Well-Known Member
Sep 8, 2009
227
8
68
United Kingdom
cPanel Access Level
Root Administrator
[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!
 

Reado

Well-Known Member
Sep 8, 2009
227
8
68
United Kingdom
cPanel Access Level
Root Administrator
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
 

cPanelKenneth

cPanel Development
Staff member
Apr 7, 2006
4,608
79
458
cPanel Access Level
Root Administrator
We should have a fix for this in tonights 11.25 build ( as long as all goes as planned ).
 

hostmedic

Well-Known Member
Apr 30, 2003
544
0
166
Washington Court House, Ohio, United States
cPanel Access Level
DataCenter Provider
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 -
 

Cristi4n

Well-Known Member
PartnerNOC
Jul 2, 2006
73
0
156
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.
 
Last edited:

Reado

Well-Known Member
Sep 8, 2009
227
8
68
United Kingdom
cPanel Access Level
Root Administrator
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.
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.
 

Infopro

Well-Known Member
May 20, 2003
17,112
514
613
Pennsylvania
cPanel Access Level
Root Administrator
Twitter
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.
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.
 

Cristi4n

Well-Known Member
PartnerNOC
Jul 2, 2006
73
0
156
yes, maybe I'm an idiot, anyway I completely forget about RELEASE. Thanks.
 

cPanelKenneth

cPanel Development
Staff member
Apr 7, 2006
4,608
79
458
cPanel Access Level
Root Administrator
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 ).
 

konrath

Well-Known Member
May 3, 2005
366
0
166
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
 
Status
Not open for further replies.