I was just readinga tip entitled "Rotating log files without
killing the transactions in progress" in apache week, and
was interested to read:
"Sending the parent Apache process a USR1 signal will make
it close the current log files, and re-open them, without
loosing any connections currently in progress. This should
be used instead of a HUP signal in any log rotation script."
(more information on the page this was taken from at
I decided to go and see what I was currently using (and if
HUP, change it to USR1, add a script or something, etc.),
and noticed that the /etc/logrotate.d/apache file that comes
with rawhide was using HUP. Might be nice if this were
changed (would probably involve a more complex system though
for the log rotation for the server though as mentioned in
assigned to pbrown
this will be fixed in the next release (6.1). Thanks for the report.
In RHL 7.0, HUP is used instead of USR1.
/bin/kill -HUP `cat /var/run/httpd.pid 2>/dev/null` 2> /dev/null || true
Documentation at the Apache Group web site states that USR1 doesn't close child
processes, so there may be processes using the log files for an unknown amount
of time after the signal is delivered, which can lead to inconsistencies and
Commit pushed to master at https://github.com/openshift/origin
Issue 2378 - Show TLS information for routes, create routes and routes/routename pages