Apache2 waits indefinetely when reloading
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
apache2 (Ubuntu) |
Expired
|
Medium
|
Unassigned |
Bug Description
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 serve web pages.
Reload does not work in this situation.
After some research we found that Apache2 has a GracefulShutdow
But this directive not set (defaults to zero) in default Ubuntu config.
( See : http://
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.
description: | updated |
Thank you for taking the time for reporting this bug and helping to make Ubuntu better.
With the default GracefulShutdow nTimeout, Apache should still shut down after all existing requests have been served, and the reload should still occur. Based on that description, I don't yet see a bug in the default configuration.
Do you know why this isn't happening correctly in your case? Do you have a web application that is hanging on requests indefinitely, or anything like that?