Submitted by cyrus on Mon, 05/22/2017 - 00:58 Pro Licensee
I recently added a few virtual domains from a CentOS server and mention this because I haven't noticed regular graceful restarts in my apache2 error log before. For example, a few lines are below that show the restart every few seconds
[Sun May 21 06:26:36.055486 2017] [mpm_prefork:notice] [pid 10430] AH00171: Graceful restart requested, doing restart
[Sun May 21 06:26:36.176152 2017] [auth_digest:notice] [pid 10430] AH01757: generating secret for digest authentication ...
[Sun May 21 06:26:36.206830 2017] [mpm_prefork:notice] [pid 10430] AH00163: Apache/2.4.10 (Debian) SVN/1.8.10 mod_fcgid/2.3.9 OpenSSL/1.0.1t mod_perl/2.0.9dev Perl/v5.20.2 configured -- resuming normal operations
[Sun May 21 06:26:36.206845 2017] [core:notice] [pid 10430] AH00094: Command line: '/usr/sbin/apache2'
[Sun May 21 06:26:41.690772 2017] [mpm_prefork:notice] [pid 10430] AH00171: Graceful restart requested, doing restart
[Sun May 21 06:26:41.815560 2017] [auth_digest:notice] [pid 10430] AH01757: generating secret for digest authentication ...
[Sun May 21 06:26:41.848488 2017] [mpm_prefork:notice] [pid 10430] AH00163: Apache/2.4.10 (Debian) SVN/1.8.10 mod_fcgid/2.3.9 OpenSSL/1.0.1t mod_perl/2.0.9dev Perl/v5.20.2 configured -- resuming normal operations
[Sun May 21 06:26:41.848503 2017] [core:notice] [pid 10430] AH00094: Command line: '/usr/sbin/apache2'
Status:
Active
Comments
Submitted by andreychek on Mon, 05/22/2017 - 09:21 Comment #1
Howdy -- are the restarts all happening at roughly the same time?
That may just be the log rotation, which does issue a number of Apache restarts in order to get Apache to not hold the log file open.
Submitted by cyrus on Tue, 05/23/2017 - 01:57 Pro Licensee Comment #2
Thanks, will keep an eye open :)