o apache2 reinicia a cada minuto

0

Eu uso o monit para monitorar todos os serviços no meu sistema e recentemente eu adicionei o Apache2 (2.4) nele. Só para mencionar que eu uso o Debian 8 no sistema ARM.Eu uso o init.d e não o systemd.

Depois de adicionar o Apache e o config, use o módulo "mpm_prefork" e remova muitos módulos dos módulos "habilitados" para ficar mais leve.

Tudo isso não me ajuda e ainda consigo o Apache2 ser reiniciado a cada minuto.

Alguém teve essa experiência e solucionou esse problema?

Registros do error.log do apache

[Sun Oct 29 15:14:08.030632 2017] [mpm_prefork:info] [pid 16630] AH00164: Server built: Sep 20 2017 04:52:59 [Sun Oct 29 15:14:08.030715 2017] [core:notice] [pid 16630] AH00094: Command line: '/usr/sbin/apache2' [Sun Oct 29 15:14:08.030833 2017] [mpm_prefork:debug] [pid 16630] prefork.c(995): AH00165: Accept mutex: fcntl (default: sysvsem) [Sun Oct 29 15:14:08.030914 2017] [wsgi:info] [pid 16637] mod_wsgi (pid=16637): Initializing Python. [Sun Oct 29 15:14:08.034578 2017] [wsgi:info] [pid 16635] mod_wsgi (pid=16635): Initializing Python. [Sun Oct 29 15:14:08.036867 2017] [wsgi:info] [pid 16633] mod_wsgi (pid=16633): Initializing Python. [Sun Oct 29 15:14:08.043898 2017] [wsgi:info] [pid 16638] mod_wsgi (pid=16638): Initializing Python. [Sun Oct 29 15:14:08.111007 2017] [wsgi:info] [pid 16632] mod_wsgi (pid=16632): Attach interpreter ''. [Sun Oct 29 15:14:08.112918 2017] [wsgi:info] [pid 16635] mod_wsgi (pid=16635): Attach interpreter ''. [Sun Oct 29 15:14:08.156439 2017] [wsgi:info] [pid 16638] mod_wsgi (pid=16638): Attach interpreter ''. [Sun Oct 29 15:14:08.156429 2017] [wsgi:info] [pid 16637] mod_wsgi (pid=16637): Attach interpreter ''. [Sun Oct 29 15:14:08.179340 2017] [wsgi:info] [pid 16633] mod_wsgi (pid=16633): Attach interpreter ''. [Sun Oct 29 15:14:09.332620 2017] [wsgi:info] [pid 16638] mod_wsgi (pid=16638): Destroying interpreters. [Sun Oct 29 15:14:09.332740 2017] [wsgi:info] [pid 16632] mod_wsgi (pid=16632): Destroying interpreters. [Sun Oct 29 15:14:09.332637 2017] [wsgi:info] [pid 16635] mod_wsgi (pid=16635): Destroying interpreters. [Sun Oct 29 15:14:09.332863 2017] [wsgi:info] [pid 16638] mod_wsgi (pid=16638): Cleanup interpreter ''. [Sun Oct 29 15:14:09.332875 2017] [wsgi:info] [pid 16632] mod_wsgi (pid=16632): Cleanup interpreter ''. [Sun Oct 29 15:14:09.332901 2017] [wsgi:info] [pid 16635] mod_wsgi (pid=16635): Cleanup interpreter ''. [Sun Oct 29 15:14:09.335278 2017] [wsgi:info] [pid 16633] mod_wsgi (pid=16633): Destroying interpreters. [Sun Oct 29 15:14:09.335482 2017] [wsgi:info] [pid 16633] mod_wsgi (pid=16633): Cleanup interpreter ''. [Sun Oct 29 15:14:09.332621 2017] [wsgi:info] [pid 16637] mod_wsgi (pid=16637): Destroying interpreters. [Sun Oct 29 15:14:09.338731 2017] [wsgi:info] [pid 16637] mod_wsgi (pid=16637): Cleanup interpreter ''. [Sun Oct 29 15:14:09.348660 2017] [wsgi:info] [pid 16635] mod_wsgi (pid=16635): Terminating Python. [Sun Oct 29 15:14:09.350305 2017] [wsgi:info] [pid 16638] mod_wsgi (pid=16638): Terminating Python. [Sun Oct 29 15:14:09.354130 2017] [wsgi:info] [pid 16637] mod_wsgi (pid=16637): Terminating Python. [Sun Oct 29 15:14:09.354114 2017] [wsgi:info] [pid 16633] mod_wsgi (pid=16633): Terminating Python. [Sun Oct 29 15:14:09.359654 2017] [wsgi:info] [pid 16632] mod_wsgi (pid=16632): Terminating Python. [Sun Oct 29 15:14:09.369674 2017] [wsgi:info] [pid 16638] mod_wsgi (pid=16638): Python has shutdown. [Sun Oct 29 15:14:09.372697 2017] [wsgi:info] [pid 16637] mod_wsgi (pid=16637): Python has shutdown. [Sun Oct 29 15:14:09.372828 2017] [wsgi:info] [pid 16633] mod_wsgi (pid=16633): Python has shutdown. [Sun Oct 29 15:14:09.383463 2017] [wsgi:info] [pid 16635] mod_wsgi (pid=16635): Python has shutdown. [Sun Oct 29 15:14:09.388690 2017] [wsgi:info] [pid 16632] mod_wsgi (pid=16632): Python has shutdown. [Sun Oct 29 15:14:09.414820 2017] [core:trace4] [pid 16630] mpm_common.c(534): mpm child 16632 (gen 0/slot 0) exited [Sun Oct 29 15:14:09.414981 2017] [core:trace4] [pid 16630] mpm_common.c(534): mpm child 16633 (gen 0/slot 1) exited [Sun Oct 29 15:14:09.415094 2017] [core:trace4] [pid 16630] mpm_common.c(534): mpm child 16635 (gen 0/slot 2) exited [Sun Oct 29 15:14:09.415208 2017] [core:trace4] [pid 16630] mpm_common.c(534): mpm child 16637 (gen 0/slot 3) exited [Sun Oct 29 15:14:09.415312 2017] [core:trace4] [pid 16630] mpm_common.c(534): mpm child 16638 (gen 0/slot 4) exited [Sun Oct 29 15:14:09.415451 2017] [core:info] [pid 16630] AH00096: removed PID file /var/run/apache2/apache2.pid (pid=16630) [Sun Oct 29 15:14:09.415501 2017] [mpm_prefork:notice] [pid 16630] AH00169: caught SIGTERM, shutting down [Sun Oct 29 15:14:09.425704 2017] [core:trace4] [pid 16630] mpm_common.c(430): end of generation 0 [Sun Oct 29 15:14:10.901639 2017] [wsgi:warn] [pid 16702] mod_wsgi: Compiled for Python/2.7.8. [Sun Oct 29 15:14:10.901734 2017] [wsgi:warn] [pid 16702] mod_wsgi: Runtime using Python/2.7.9. [Sun Oct 29 15:14:10.904197 2017] [core:trace4] [pid 16702] mpm_common.c(534): mpm child 16705 (gen 0/slot 0) started [Sun Oct 29 15:14:10.905865 2017] [core:trace4] [pid 16702] mpm_common.c(534): mpm child 16706 (gen 0/slot 1) started [Sun Oct 29 15:14:10.906179 2017] [wsgi:info] [pid 16705] mod_wsgi (pid=16705): Initializing Python. [Sun Oct 29 15:14:10.907856 2017] [core:trace4] [pid 16702] mpm_common.c(534): mpm child 16707 (gen 0/slot 2) started [Sun Oct 29 15:14:10.907795 2017] [wsgi:info] [pid 16706] mod_wsgi (pid=16706): Initializing Python. [Sun Oct 29 15:14:10.909754 2017] [core:trace4] [pid 16702] mpm_common.c(534): mpm child 16708 (gen 0/slot 3) started [Sun Oct 29 15:14:10.910568 2017] [wsgi:info] [pid 16707] mod_wsgi (pid=16707): Initializing Python. [Sun Oct 29 15:14:10.911443 2017] [core:trace4] [pid 16702] mpm_common.c(534): mpm child 16709 (gen 0/slot 4) started [Sun Oct 29 15:14:10.911602 2017] [mpm_prefork:notice] [pid 16702] AH00163: Apache/2.4.10 (Debian) mod_wsgi/4.3.0 Python/2.7.9 configured -- resuming normal operations [Sun Oct 29 15:14:10.911672 2017] [mpm_prefork:info] [pid 16702] AH00164: Server built: Sep 20 2017 04:52:59 [Sun Oct 29 15:14:10.911767 2017] [core:notice] [pid 16702] AH00094: Command line: '/usr/sbin/apache2' [Sun Oct 29 15:14:10.912079 2017] [mpm_prefork:debug] [pid 16702] prefork.c(995): AH00165: Accept mutex: fcntl (default: sysvsem) [Sun Oct 29 15:14:10.913539 2017] [wsgi:info] [pid 16709] mod_wsgi (pid=16709): Initializing Python. [Sun Oct 29 15:14:10.914593 2017] [wsgi:info] [pid 16708] mod_wsgi (pid=16708): Initializing Python. [Sun Oct 29 15:14:10.989894 2017] [wsgi:info] [pid 16707] mod_wsgi (pid=16707): Attach interpreter ''. [Sun Oct 29 15:14:10.992852 2017] [wsgi:info] [pid 16708] mod_wsgi (pid=16708): Attach interpreter ''.

    
por Sergey Meerovich 28.10.2017 / 15:24

0 respostas