[Bug 270899] Re: /etc/init.d/apache2 restart fails on busy webservers
James Troup
james.troup at canonical.com
Tue Sep 16 15:36:41 BST 2008
andylockran <andy at zrmt.com> 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
Server Team, which is subscribed to apache2 in ubuntu.
More information about the Ubuntu-server-bugs
mailing list