Назад | Перейти на главную страницу

много изящных перезапусков в журнале ошибок httpd?

Наш сервер не работал, и мы повторно настроили службы (nginx и httpd), и когда я смотрю журналы, я обнаружил эти строки, их так много Graceful restart requested, doing restart линии, что не так? у меня есть 100 строк, как показано ниже

[Tue Nov 10 03:35:12.421652 2015] [mpm_prefork:notice] [pid 60224] AH00163: Apache/2.4.6 (CentOS) PHP/5.6.7 mod_apreq2-20090110/2.8.0 mod_perl/2.0.9dev Perl/v5.16.3 configured -- resuming normal operations
[Tue Nov 10 03:35:12.421669 2015] [core:notice] [pid 60224] AH00094: Command line: '/usr/sbin/httpd -D FOREGROUND'
JPEG datastream contains no image
JPEG datastream contains no image
JPEG datastream contains no image
Empty input file
[Wed Nov 11 03:37:09.103375 2015] [mpm_prefork:notice] [pid 60224] AH00171: Graceful restart requested, doing restart
[Wed Nov 11 03:37:09.168114 2015] [auth_digest:notice] [pid 60224] AH01757: generating secret for digest authentication ...
[Wed Nov 11 03:37:09.168701 2015] [lbmethod_heartbeat:notice] [pid 60224] AH02282: No slotmem from mod_heartmonitor
[Wed Nov 11 03:37:09.294548 2015] [mpm_prefork:notice] [pid 60224] AH00163: Apache/2.4.6 (CentOS) PHP/5.6.7 mod_apreq2-20090110/2.8.0 mod_perl/2.0.9dev Perl/v5.16.3 configured -- resuming normal operations
[Wed Nov 11 03:37:09.294563 2015] [core:notice] [pid 60224] AH00094: Command line: '/usr/sbin/httpd -D FOREGROUND'
[Wed Nov 11 03:37:26.407712 2015] [mpm_prefork:notice] [pid 60224] AH00171: Graceful restart requested, doing restart
[Wed Nov 11 03:37:26.468105 2015] [auth_digest:notice] [pid 60224] AH01757: generating secret for digest authentication ...
[Wed Nov 11 03:37:26.468841 2015] [lbmethod_heartbeat:notice] [pid 60224] AH02282: No slotmem from mod_heartmonitor
[Wed Nov 11 03:37:26.587135 2015] [mpm_prefork:notice] [pid 60224] AH00163: Apache/2.4.6 (CentOS) PHP/5.6.7 mod_apreq2-20090110/2.8.0 mod_perl/2.0.9dev Perl/v5.16.3 configured -- resuming normal operations
[Wed Nov 11 03:37:26.587148 2015] [core:notice] [pid 60224] AH00094: Command line: '/usr/sbin/httpd -D FOREGROUND'
[Wed Nov 11 03:37:26.594527 2015] [core:error] [pid 60224] AH00546: no record of generation 48 of exiting child 100499
[Wed Nov 11 03:37:38.603784 2015] [mpm_prefork:notice] [pid 60224] AH00171: Graceful restart requested, doing restart
[Wed Nov 11 03:37:38.660377 2015] [auth_digest:notice] [pid 60224] AH01757: generating secret for digest authentication ...
[Wed Nov 11 03:37:38.660946 2015] [lbmethod_heartbeat:notice] [pid 60224] AH02282: No slotmem from mod_heartmonitor
[Wed Nov 11 03:37:38.786062 2015] [mpm_prefork:notice] [pid 60224] AH00163: Apache/2.4.6 (CentOS) PHP/5.6.7 mod_apreq2-20090110/2.8.0 mod_perl/2.0.9dev Perl/v5.16.3 configured -- resuming normal operations
[Wed Nov 11 03:37:38.786076 2015] [core:notice] [pid 60224] AH00094: Command line: '/usr/sbin/httpd -D FOREGROUND'
[Wed Nov 11 03:37:48.571168 2015] [mpm_prefork:notice] [pid 60224] AH00171: Graceful restart requested, doing restart
[Wed Nov 11 03:37:48.649259 2015] [auth_digest:notice] [pid 60224] AH01757: generating secret for digest authentication ...
[Wed Nov 11 03:37:48.650033 2015] [lbmethod_heartbeat:notice] [pid 60224] AH02282: No slotmem from mod_heartmonitor
[Wed Nov 11 03:37:48.778361 2015] [mpm_prefork:notice] [pid 60224] AH00163: Apache/2.4.6 (CentOS) PHP/5.6.7 mod_apreq2-20090110/2.8.0 mod_perl/2.0.9dev Perl/v5.16.3 configured -- resuming normal operations
[Wed Nov 11 03:37:48.778375 2015] [core:notice] [pid 60224] AH00094: Command line: '/usr/sbin/httpd -D FOREGROUND'
[Wed Nov 11 03:38:04.996390 2015] [mpm_prefork:notice] [pid 60224] AH00171: Graceful restart requested, doing restart
[Wed Nov 11 03:38:05.064130 2015] [auth_digest:notice] [pid 60224] AH01757: generating secret for digest authentication ...
[Wed Nov 11 03:38:05.064883 2015] [lbmethod_heartbeat:notice] [pid 60224] AH02282: No slotmem from mod_heartmonitor
[Wed Nov 11 03:38:05.192110 2015] [mpm_prefork:notice] [pid 60224] AH00163: Apache/2.4.6 (CentOS) PHP/5.6.7 mod_apreq2-20090110/2.8.0 mod_perl/2.0.9dev Perl/v5.16.3 configured -- resuming normal operations
[Wed Nov 11 03:38:05.192122 2015] [core:notice] [pid 60224] AH00094: Command line: '/usr/sbin/httpd -D FOREGROUND'
[Wed Nov 11 03:38:20.318824 2015] [mpm_prefork:notice] [pid 60224] AH00171: Graceful restart requested, doing restart
[Wed Nov 11 03:38:20.389300 2015] [auth_digest:notice] [pid 60224] AH01757: generating secret for digest authentication ...
[Wed Nov 11 03:38:20.390050 2015] [lbmethod_heartbeat:notice] [pid 60224] AH02282: No slotmem from mod_heartmonitor
[Wed Nov 11 03:38:20.540335 2015] [mpm_prefork:notice] [pid 60224] AH00163: Apache/2.4.6 (CentOS) PHP/5.6.7 mod_apreq2-20090110/2.8.0 mod_perl/2.0.9dev Perl/v5.16.3 configured -- resuming normal operations
[Wed Nov 11 03:38:20.540351 2015] [core:notice] [pid 60224] AH00094: Command line: '/usr/sbin/httpd -D FOREGROUND'
[Wed Nov 11 03:38:33.263314 2015] [mpm_prefork:notice] [pid 60224] AH00171: Graceful restart requested, doing restart
[Wed Nov 11 03:38:33.328249 2015] [auth_digest:notice] [pid 60224] AH01757: generating secret for digest authentication ...
[Wed Nov 11 03:38:33.328853 2015] [lbmethod_heartbeat:notice] [pid 60224] AH02282: No slotmem from mod_heartmonitor
[Wed Nov 11 03:38:33.446190 2015] [mpm_prefork:notice] [pid 60224] AH00163: Apache/2.4.6 (CentOS) PHP/5.6.7 mod_apreq2-20090110/2.8.0 mod_perl/2.0.9dev Perl/v5.16.3 configured -- resuming normal operations
[Wed Nov 11 03:38:33.446203 2015] [core:notice] [pid 60224] AH00094: Command line: '/usr/sbin/httpd -D FOREGROUND'
[Wed Nov 11 19:01:38.520827 2015] [suexec:notice] [pid 3902] AH01232: suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Wed Nov 11 19:01:38.561249 2015] [auth_digest:notice] [pid 3902] AH01757: generating secret for digest authentication ...
[Wed Nov 11 19:01:38.561959 2015] [lbmethod_heartbeat:notice] [pid 3902] AH02282: No slotmem from mod_heartmonitor
[Wed Nov 11 19:01:38.705993 2015] [mpm_prefork:notice] [pid 3902] AH00163: Apache/2.4.6 (CentOS) PHP/5.6.7 mod_apreq2-20090110/2.8.0 mod_perl/2.0.9dev Perl/v5.16.3 configured -- resuming normal operations
[Wed Nov 11 19:01:38.706025 2015] [core:notice] [pid 3902] AH00094: Command line: '/usr/sbin/httpd -D FOREGROUND'
[Thu Nov 12 03:45:09.304011 2015] [mpm_prefork:notice] [pid 3902] AH00171: Graceful restart requested, doing restart
[Thu Nov 12 03:45:09.361104 2015] [auth_digest:notice] [pid 3902] AH01757: generating secret for digest authentication ...

хорошо, я нашел причину, эти плавные перезапуски происходят из-за ротации журналов (crond корректно перезапускает службу http после ротации журналов) некоторые журналы меняются очень часто (из-за некоторой неправильной конфигурации). Вот и все