> 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'.
andylockran <email address hidden> 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 d/apache2 restart'.
'/etc/init.
--
James