Bug#641206: apache2: Implement init.d's stop and restart using graceful stop
tags 641206 wontfix
On Sunday 11 September 2011, Slaven Rezic wrote:
> It would be nice if the init.d script would use this feature for
> the stop and restart commands.
We have tried this already, but sadly it didn't work reliably. The
problem is that depending on the configuration, it may take a
significant amount of time until all children have closed their
listening sockets. Before this has happened, it is not possible to
start a new instance of apache2, but there is no sane way to determine
when the listening sockets have been closed. Even very conservative
waiting times like 10s were not enough in practice, resulting in
failures to restart apache2.