Pierre Habouzit wrote: > 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.
It's because lighty dropping privileges after binding to port 80, there is discussion [1] and preliminary, experimental patch. > (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. [1] http://article.gmane.org/gmane.comp.web.lighttpd/3752/match=graceful+restart eloy -- [EMAIL PROTECTED] jak to dobrze, że są oceany - bez nich byłoby jeszcze smutniej