[Bug 736089] New: Apache restarts daily (SIGHUP) on busy server because of logrotate
https://bugzilla.novell.com/show_bug.cgi?id=736089 https://bugzilla.novell.com/show_bug.cgi?id=736089#c0 Summary: Apache restarts daily (SIGHUP) on busy server because of logrotate Classification: openSUSE Product: openSUSE 12.1 Version: Final Platform: x86-64 OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: Apache AssignedTo: bnc-team-apache@forge.provo.novell.com ReportedBy: takeshi@dubistmeinheld.de QAContact: qa@suse.de Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:8.0) Gecko/20100101 Firefox/8.0 After I installed a fresh openSuSE 12.1 on one of my servers, I had the problem that every day at 21h my Apache restarted and and also killed some long running file uploads or downloads. vi /var/log/messages .. Dec 9 21:00:04 www8 start_apache2[16703]: Syntax OK .. ll /var/log/apache2 .. 3.8M Dec 9 21:00 access_log-20111209.xz .. After investigating, I recognized that "/etc/init.d/apache2 reload" is now different from "/etc/init.d/apache2 graceful" due to the new systemd. The latter one uses the "old system". Sure enough, after changing /etc/logrotate.d/apache2 and replacing "reload" by "graceful", Apache now runs without interruption. Even PHP CLI processes were killed, but I guess this is another thing. Not sure if this has to do with /lib/systemd/system/apache2.service Reproducible: Always Steps to Reproduce: 1. run logrotate, but be sure to hit the limits defined in /etc/logrotate.d/apache2 Actual Results: Apache restarts every day via SIGHUP due to logrotate vi /var/log/apache2/error_log [Fri Dec 09 21:00:04 2011] [notice] SIGHUP received. Attempting to restart Expected Results: Apache doing a graceful restart (or rcapache reload as before) vi /var/log/apache2/error_log [Sat Dec 10 21:00:03 2011] [notice] Graceful restart requested, doing restart -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com