2015-06-10 01:30:06 |
Nano.net.tr |
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 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.
( http://httpd.apache.org/docs/2.4/en/mod/mpm_common.html#gracefulshutdowntimeout )
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. |
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. |
|