andylockran <[EMAIL PROTECTED]> writes:

> Please can you provide the versions of logrotate, apache, and ubuntu you
> are using please.  As well as kernel version.

Well, Hardy, so:

apache2-mpm-worker  2.2.8-1ubuntu0.3
logrotate           3.7.1-3
Kernel              2.6.24-19-server

> Do you have any steps you can take to reproduce this action?

Actually, sorry, I've just noticed that the default logrotate file
uses 'reload' rather than 'restart', which is great but I still think
'restart' should work better for a busy server.  The fundamental
problem seems to be that it tries to shut down gracefully, but that
takes too long for a busy server.  Rather than then shutting down hard
(e.g. kill -9), it just gives up, and immediately tries to start again
(which of course fails).

Anyway, to reproduce: run a very busy webserver and run
'/etc/init.d/apache2 restart'.

-- 
James

** Summary changed:

- apache doesn't come back up after weekly logrotate restart
+ /etc/init.d/apache2 restart fails on busy webservers

-- 
/etc/init.d/apache2 restart fails on busy webservers
https://bugs.launchpad.net/bugs/270899
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to