enterprise-support team mailing list archive
-
enterprise-support team
-
Mailing list archive
-
Message #04337
[Bug 1463635] [NEW] Apache2 waits indefinetely when reloading
Public bug reported:
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 GracefulShutdownTimeout directive that kill remaining requests after a timeout.
But this directive not set (defaults to zero) in default Ubuntu config.
( See : http://httpd.apache.org/docs/2.4/en/mod/mpm_common.html )
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.
** Affects: apache2 (Ubuntu)
Importance: Undecided
Status: New
** Description changed:
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.
+ 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 GracefulShutdownTimeout directive that kill remaining requests after a timeout.
But this directive not set (defaults to zero) in default Ubuntu config.
- ( http://httpd.apache.org/docs/2.4/en/mod/mpm_common.html#gracefulshutdowntimeout )
+ ( See : http://httpd.apache.org/docs/2.4/en/mod/mpm_common.html )
This should have a reasonable value in default config.
- Expected :
+ Expected :
Apache2 reloads and continues to serve web pages without human interaction.
Happened :
Apache2 waits for remaining requests indefinitely and needs a restart.
--
You received this bug notification because you are a member of Ubuntu
Server/Client Support Team, which is subscribed to apache2 in Ubuntu.
Matching subscriptions: Ubuntu Server/Client Support Team
https://bugs.launchpad.net/bugs/1463635
Title:
Apache2 waits indefinetely when reloading
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apache2/+bug/1463635/+subscriptions
Follow ups
References