On Wed, Dec 12, 2001 at 11:00:54AM -0700, Blake Thornton wrote: > What would cause Apache to restart. I looked in my error logs this > morning and it looks like this: > > ------------------------------------------------- > > [Wed Dec 12 04:02:03 2001] [notice] SIGHUP received. Attempting to > restart > > [Wed Dec 12 04:02:04 2001] [notice] Apache/1.3.22 (Unix) (Red-Hat/Linux) > mod_ssl/2.8.5 OpenSSL/0.9.6b DAV/1.0.2 PHP/4.0.6 mod_perl/1.24_01 > configured -- resuming normal operations > > [Wed Dec 12 04:02:04 2001] [notice] suEXEC mechanism enabled (wrapper: > /usr/sbin/suexec) > > [Wed Dec 12 04:02:04 2001] [notice] Accept mutex: sysvsem (Default: > sysvsem)
This would be the logrotate script running to rotate your apache logs. Apache must be restarted to rotate the logs other wise you will end up with a log file that has nothing in it to the same byte position as where the rotation took place. This prevents you from say rotating a 1GB access log file and starting the logging in apache at the 1GB mark. ttylz
msg66875/pgp00000.pgp
Description: PGP signature