Comment 0 for bug 1463635 (software-0) wrote :

System : Ubuntu 14.04.2 LTS
Package : apache2 - 2.4.7-1ubuntu4.4

Description :
When a reload invoked by logrotate;
2-3 time in a week apache2 stops responding requests in our web server.
While in this period, clients can connect but waits indefinitely for a reply.
Then apache2 needs a full restart to start server web pages.
Reload does not work in this situation.

After some research we found that Apache2 has a GracefulShutdownTimeout directive that kill remaining requests after a timeout.
But this directive not set (defaults to zero) in default Ubuntu config.
( )

This should have a reasonable value in default config.

Expected :
Apache2 reloads and continues to serve web pages without human interaction.

Happened :
Apache2 waits for remaining requests indefinitely and needs a restart.