[pkg-lighttpd] Bug#380080: lighttpd: logrotate stops servers, and sometimes it does not starts again

Pierre Habouzit madcoder at debian.org
Thu Jul 27 12:03:41 UTC 2006


Package: lighttpd
Version: 1.4.11-7
Severity: grave
Justification: renders package unusable


  I use lighttpd on many servers, and sometimes, because of logrotate,
the server stops, but never starts again (presumably because the sleep 5
is not enough, logs shows that it took 5 seconds to stop:

    2006-07-27 06:25:20: (server.c.1216) [note] graceful shutdown started
    2006-07-27 06:25:24: (log.c.135) server stopped

  (1) I'm surprised that lighttpd is not able to understand a kill -HUP
      to reload.

  (2) even if it doesn't, it should be possible to wait until it's
      really stopped before starting it again, instead of a crude sleep.

  given that the logrotate fires the stop around 06:25, it causes
serious downtime, hence the severity.




More information about the pkg-lighttpd-maintainers mailing list