restart cada 30min de fpm

  • Estimados, lo que estoy notando que cada 30minutos se esta reiniciando fpm, no tengo nada en el cron que haga tal tarea, porque puede ser?, la verdad es bastante molesto, sobre todo para owncloud.


    Saludos y gracias.

  • Dale mas usuarios y procesos de conexion a los usuario dentro del /etc/php5/fpm/pool.d/, si lo has montado por usuario, si usas un motor comun para todo el site, miralo en etc/php5/fpm/php-fpm.conf mira a el restart de emergencia si lo tienes activado en su config principal.


    Entre eso y mirar el log de fpm y apache debe salir el porque

  • La configuracion de FPM es por site,
    dejo los logs, por si sirven para algo, pero no veo la verdad el problema.



    Log de php-fpm, no se si no me doy cuenta, pero no veo nada raro

    Code
    1. [21-May-2015 11:28:55] NOTICE: fpm is running, pid 5121[21-May-2015 11:28:55] NOTICE: ready to handle connections[21-May-2015 11:58:55] NOTICE: Reloading in progress ...[21-May-2015 11:58:55] NOTICE: reloading: execvp("/usr/sbin/php5-fpm", {"/usr/sbin/php5-fpm", "--fpm-config", "/etc/php5/fpm/php-fpm.conf"})[21-May-2015 11:58:56] NOTICE: using inherited socket fd=8, "/var/run/php5-fpm-allmotos.com.ar.socket"[21-May-2015 11:58:56] NOTICE: using inherited socket fd=8, "/var/run/php5-fpm-allmotos.com.ar.socket"[..][21-May-2015 11:58:56] NOTICE: using inherited socket fd=85, "/var/run/php5-fpm-slepinamar.com.ar.socket"[21-May-2015 11:58:56] NOTICE: using inherited socket fd=86, "/var/run/php5-fpm-adl.com.ar.socket"[21-May-2015 11:58:56] NOTICE: using inherited socket fd=86, "/var/run/php5-fpm-adl.com.ar.socket"[21-May-2015 11:58:56] NOTICE: fpm is running, pid 7696[21-May-2015 11:58:56] NOTICE: ready to handle connections[21-May-2015 12:28:55] NOTICE: Reloading in progress ...[21-May-2015 12:28:55] NOTICE: reloading: execvp("/usr/sbin/php5-fpm", {"/usr/sbin/php5-fpm", "--fpm-config", "/etc/php5/fpm/php-fpm.conf"})[21-May-2015 12:28:56] NOTICE: using inherited socket fd=8, "/var/run/php5-fpm-allmotos.com.ar.socket"[21-May-2015 12:28:56] NOTICE: using inherited socket fd=8, "/var/run/php5-fpm-allmotos.com.ar.socket"[21-May-2015 12:28:56] NOTICE: using inherited socket fd=9, "/var/run/php5-fpm-cascardoabogados.com.ar.socket"[..][21-May-2015 12:28:56] NOTICE: using inherited socket fd=86, "/var/run/php5-fpm-adl.com.ar.socket"[21-May-2015 12:28:56] NOTICE: using inherited socket fd=86, "/var/run/php5-fpm-adl.com.ar.socket"[21-May-2015 12:28:56] NOTICE: fpm is running, pid 10950[21-May-2015 12:28:56] NOTICE: ready to handle connections[21-May-2015 12:58:56] NOTICE: Reloading in progress ...[21-May-2015 12:58:56] NOTICE: reloading: execvp("/usr/sbin/php5-fpm", {"/usr/sbin/php5-fpm", "--fpm-config", "/etc/php5/fpm/php-fpm.conf"})[21-May-2015 12:58:56] NOTICE: using inherited socket fd=8, "/var/run/php5-fpm-allmotos.com.ar.socket"[21-May-2015 12:58:56] NOTICE: using inherited socket fd=8, "/var/run/php5-fpm-allmotos.com.ar.socket"[..][21-May-2015 12:58:56] NOTICE: using inherited socket fd=86, "/var/run/php5-fpm-adl.com.ar.socket"[21-May-2015 12:58:56] NOTICE: using inherited socket fd=86, "/var/run/php5-fpm-adl.com.ar.socket"[21-May-2015 12:58:56] NOTICE: fpm is running, pid 15248[21-May-2015 12:58:56] NOTICE: ready to handle connections


    Log de apache:


    Code
    1. ing normal operations[Thu May 21 14:28:55 2015] [notice] vlogger: started CustomLog Handler -- resuming normal operations[Thu May 21 11:30:00 2015] [error] [client 185.49.15.23] client denied by server configuration: /var/www/testproxy.php[Thu May 21 11:30:00 2015] [error] [client 185.49.15.23] client denied by server configuration: /var/www/errors[Thu May 21 11:58:56 2015] [notice] SIGUSR1 received. Doing graceful restart[Thu May 21 14:58:56 2015] [notice] vlogger: caught TERM, shutting down[Thu May 21 11:58:56 2015] [notice] FastCGI: process manager initialized (pid 7699)[Thu May 21 14:58:56 2015] [notice] vlogger: started CustomLog Handler -- resuming normal operations[Thu May 21 11:58:56 2015] [notice] Apache/2.2.22 (Debian) DAV/2 SVN/1.6.17 mod_gnutls/0.5.10 mod_jk/1.2.37 mod_fastcgi/mod_fastcgi-SNAP-0910052141 mod_ssl/2.2.22 OpenSSL/1.0.1e configured -- resuming normal operations[Thu May 21 12:28:56 2015] [notice] SIGUSR1 received. Doing graceful restart[Thu May 21 15:28:56 2015] [notice] vlogger: caught TERM, shutting down[Thu May 21 12:28:56 2015] [notice] FastCGI: process manager initialized (pid 10949)[Thu May 21 12:28:56 2015] [notice] Apache/2.2.22 (Debian) DAV/2 SVN/1.6.17 mod_gnutls/0.5.10 mod_jk/1.2.37 mod_fastcgi/mod_fastcgi-SNAP-0910052141 mod_ssl/2.2.22 OpenSSL/1.0.1e configured -- resuming normal operations[Thu May 21 15:28:56 2015] [notice] vlogger: started CustomLog Handler -- resuming normal operations[Thu May 21 12:42:41 2015] [error] [client 222.186.42.169] client denied by server configuration: /var/www/login.action[Thu May 21 12:42:41 2015] [error] [client 222.186.42.169] client denied by server configuration: /var/www/errors[Thu May 21 12:58:56 2015] [notice] SIGUSR1 received. Doing graceful restart[Thu May 21 15:58:56 2015] [notice] vlogger: caught TERM, shutting down[Thu May 21 12:58:56 2015] [notice] FastCGI: process manager initialized (pid 15251)[Thu May 21 15:58:56 2015] [notice] vlogger: started CustomLog Handler -- resuming normal operations[Thu May 21 12:58:56 2015] [notice] Apache/2.2.22 (Debian) DAV/2 SVN/1.6.17 mod_gnutls/0.5.10 mod_jk/1.2.37 mod_fastcgi/mod_fastcgi-SNAP-0910052141 mod_ssl/2.2.22 OpenSSL/1.0.1e configured -- resuming normal operations

    En cuanto al emergency_restart:



  • Pos si esta bien en apariencia lo unico que queda es que el owncloud este haciendo algo, que mande la señal del restart, te lo dire ya mismo ando montando un pequeño vps que lleva jessie y la version 1.2.2 del panel con fpm y con owncloud....




    Mañana te dire si me hace lo mismo, no llevara nada mas,


    Te queda cambiarle a fcgi a unas malas y observar

  • Owncloud no es, porque lo saque, justamente porque con el restart de fpm cada 30min exactos no me resulta util.


    La verdad no se por donde seguir mirando, me tiene desconcertado.


    Algun plugin puede causar este comportamiento?


    Estos son los que tengo instalados:
    AdminerSQL
    CronJobs
    DebugBar
    DomainAutoApproval
    InstantSSH
    Mailgraph
    OpenDKIM
    OwnDDNS
    POP3Fetchmail
    Postgrey
    RemoteBridge
    RoundcubePlugins

  • @vafecitos


    Yes ;) The OwnDDNS plugin is surely responsible of your problem.This is a know bug which will be fixed in next version. Show me the /var/www/imscp/gui/plugins/OwnDDNS/config.php file for that plugin please.


    Show me also the content of the /etc/cron.d/imscp file.


    Thanks.

    badge.php?id=1239063037&bid=2518&key=1747635596&format=png&z=547451206