Apache gracefully restarts spontaneously at 8 am every day?

Started by Tiribulus, May 19, 2009, 11:44:53 AM

Previous topic - Next topic

Tiribulus

I did not set this up (that I know of) and it didn't always do this, but every morning at 8 am I'm finding this in my Apache error log:

[Mon May 18 08:00:16 2009] [notice] Graceful restart requested, doing restart

I caught it while looking at the APC info page and noticed that it keeps telling me on various days I've looked that APC has only been running several hours when I told it to run for a week before resetting. APC also resets when Apache restarts so I began poking around and found that it had only been running since 8am this morning. I then found 8 am entries like the above going several days back in all my daily error logs. No cron entries I can see.

I know this isn't exactly SMF related, but if anybody has any ideas I sure would appreciate some insight.

kat

I'd imagine that that's a question that you need to ask your host, Tiribulus.

Tristan Perry

I'd imagine it's a cron; certainly sounds like it since it's at *8am* and *every* day.

Tiribulus

Quote from: Kat on May 19, 2009, 11:54:29 AM
I'd imagine that that's a question that you need to ask your host, Tiribulus.

I am my host :) Like I say I know it's not exactly an SMF issue, but I've seen some folks here are much better with Linux and Apache than I am so thought it couldn't hurt to ask.

Tiribulus

Quote from: Tristan Perry on May 19, 2009, 11:57:50 AM
I'd imagine it's a cron; certainly sounds like it since it's at *8am* and *every* day.

I'll have to look further. It does doesn't it, but all I see are the jobs I entered. Suse can have some goofy config options though. Maybe it's somewhere else. The thing that's naggin me is I didn't tell it to do this.

Ben_S

Liverpool FC Forum with 14 million+ posts.

Tiribulus

Quote from: Ben_S on May 19, 2009, 12:17:46 PM
logrotate?

Ya know, I found some info on logrotate and the restart request IS the last entry of one log with the resume entry being the first of the next so actually that would appear to be the case. I'm just stumped as to how this just started on it's own. It's only been like the last week or 2. I wonder if one of the Suse updates did it.
Thanks guys for the responses BTW.

Something like that

That must have been it. I'd file a bug report with Suse.

Tiribulus

Maybe it's by design.

I'll have to check it out and in the meantime figure how to stop it.

Something like that

I wouldn't worry about it. By default, APC caches files for only 7200 seconds -- 2 hours. And SMF caches nothing longer than 10 minutes by default.

Tiribulus

I'd still like to determine what changed though. All my log files files are set to rotate weekly except mysql.log which was set to daily. As far as I know though restarting the mysql server should neither restart Apache nor reset APC. I don't think.

I did upgrade mysql a couple weeks ago. This is gonna bother me until I get it figured out. I'm neurotic that way.

Advertisement: