Contenu | Rechercher | Menus

Annonce

Si vous avez des soucis pour rester connecté, déconnectez-vous puis reconnectez-vous depuis ce lien en cochant la case
Me connecter automatiquement lors de mes prochaines visites.

À propos de l'équipe du forum.

#1 Le 13/02/2015, à 16:00

dwitgsi

Chroot de php-fpm couplé à nginx

Bonjour,

Je me permets de poster sur le forum, après plusieurs jours de recherches sur Google et IRC en vain...

Je souhaite chrooter php-fpm pour une question de sécurité évidente.
Seulement, après mise en place, j'obtiens un "File not found" avec la configuration ci-dessous.

Voici le log :

2015/02/13 14:54:17 [error] 27730#0: *1 FastCGI sent in stderr: "Primary script unknown" while reading response header from upstream, client: 172.16.2.9, server: test.domaine.local, request: "GET / HTTP/1.1", upstream: "fastcgi://unix:/home/test/tmp/test.sock:", host: "test.domaine.local"

Le vhost nginx :

server {
        root /home/test/www;
        index index.html index.htm index.php;
        server_name test.domaine.local;

        access_log /home/test/logs/test-access_log;
        error_log /home/test/logs/test-error_log;

        location / {
                try_files $uri $uri/ /index.html;
                # Uncomment to enable naxsi on this location
                # include /etc/nginx/naxsi.rules
        }


        # Only for nginx-naxsi used with nginx-naxsi-ui : process denied requests
        #location /RequestDenied {
        #       proxy_pass http://127.0.0.1:8080;
        #}


        location ~ \.php$ {
               try_files $uri =404;
               fastcgi_pass unix:/home/test/tmp/test.sock;
               fastcgi_param SCRIPT_FILENAME $fastcgi_script_name;
               include fastcgi_params;
        }
}

La conf du pool de php-fpm :

[test]

user = test
group = test

listen = /home/test/tmp/test.sock

;listen.backlog = 128

listen.owner = test
listen.group = test
;listen.mode = 0660

;listen.allowed_clients = 127.0.0.1

pm = dynamic
pm.max_children = 5
pm.start_servers = 2
pm.min_spare_servers = 1
pm.max_spare_servers = 3
;pm.process_idle_timeout = 10s;
;pm.max_requests = 500
;pm.status_path = /status

;ping.path = /ping
;ping.response = pong

;access.log = /home/test/logs/$pool.access.log
;access.format = "%R - %u %t \"%m %r%Q%q\" %s %f %{mili}d %{kilo}M %C%%"

slowlog = /home/test/logs/$pool.log.slow
request_slowlog_timeout = 15
request_terminate_timeout = 20
;rlimit_files = 1024
;rlimit_core = 0

chroot = /home/test
chdir = /www

;catch_workers_output = yes

;clear_env = no

;security.limit_extensions = .php .php3 .php4 .php5

;env[HOSTNAME] = $HOSTNAME
;env[PATH] = /usr/local/bin:/usr/bin:/bin
;env[TMP] = /tmp
;env[TMPDIR] = /tmp
;env[TEMP] = /tmp

;php_admin_value[sendmail_path] = /usr/sbin/sendmail -t -i -f www@my.domain.com
;php_flag[display_errors] = off
;php_admin_value[error_log] = /var/log/fpm-php.www.log
;php_admin_flag[log_errors] = on
php_admin_value[memory_limit] = 32M

J'ai tenté de multiples modifications dans ces configurations, mais l'erreur est récurrente.

Auriez-vous une aide à m'apporter ?

Merci par avance.


Cordialement,
dwitgsi

Hors ligne

#2 Le 16/02/2015, à 13:02

dwitgsi

Re : Chroot de php-fpm couplé à nginx

Pas beaucoup d’adeptes à priori... hmm


Cordialement,
dwitgsi

Hors ligne

#3 Le 18/02/2015, à 08:40

tiramiseb

Re : Chroot de php-fpm couplé à nginx

Salut,

Pas d'idée évidente a priori, surtout...

Il y a quelque chose à ce propos dans les logs de PHP-FPM ?

Hors ligne

#4 Le 18/02/2015, à 09:41

dwitgsi

Re : Chroot de php-fpm couplé à nginx

Le /var/log/php5-fpm.log :

[18-Feb-2015 08:38:57] NOTICE: Finishing ...
[18-Feb-2015 08:38:57] NOTICE: exiting, bye-bye!
[18-Feb-2015 08:38:57] NOTICE: fpm is running, pid 34764
[18-Feb-2015 08:38:57] NOTICE: ready to handle connections

Php-fpm fonctionne bien car si je ne chroot pas, mes pages PHP s’exécutent bien...
Donc il doit y avoir une mauvaise configuration de l'arborescence, mais impossible de trouver où. hmm

Dernière modification par dwitgsi (Le 18/02/2015, à 09:42)


Cordialement,
dwitgsi

Hors ligne

#5 Le 18/02/2015, à 10:09

tiramiseb

Re : Chroot de php-fpm couplé à nginx

Php-fpm fonctionne bien car si je ne chroot pas, mes pages PHP s’exécutent bien...

D'où mon interrogation concernant les logs et le paramètre chroot, notamment l'erreur que tu as montrée smile


Je n'ai pas d'idée précise mais à ta place je m'intéresserais à ce paramètre-là :

               fastcgi_param SCRIPT_FILENAME $fastcgi_script_name;

... car c'est avec celui-là que nginx dit à PHP quel fichier ouvrir : es-tu sûr que ce paramètre est bon ?

... d'autant plus qu'en cherchant « php fpm "primary script unknown" » sur Google je tombe immédiatement sur une page où il est écrit « The error message “primary script unknown” is always related to a wrongly set SCRIPT_FILENAME in the nginx fastcgi_param directive ».

À quelle valeur as-tu mis ce paramètre sans chroot ?

Hors ligne

#6 Le 18/02/2015, à 11:18

dwitgsi

Re : Chroot de php-fpm couplé à nginx

Alors, les modifications de mon pool fpm :

#chroot = /home/test
chdir = /

Et la configuration du vhost nginx reste le même et ça fonctionne.

Pour ce qui est du "fastcgi_param SCRIPT_FILENAME", j'ai tenté plein de paramètres différents.
En toute logique, php-fpm est chrooté sur /home/test donc le répertoire web pour lui est /www. Pour moi, l'une des deux configurations suivantes devrait fonctionner :

fastcgi_param SCRIPT_FILENAME www$fastcgi_script_name;
fastcgi_param SCRIPT_FILENAME /www$fastcgi_script_name;

Mais il n'en est rien...


Cordialement,
dwitgsi

Hors ligne

#7 Le 18/02/2015, à 11:24

tiramiseb

Re : Chroot de php-fpm couplé à nginx

Oui, la configs avec "/www" devrait fonctionner, a priori.
Je ne peux pas t'aider si tu conclus par "il n'en est rien". Pour chaque test, il faut voir la config de nginx et de php-fpm et pour chaque test il faut valider que l'erreur est précisément la même.
Je ne peux pas aider en naviguant dans le brouillard.

Par ailleurs, as-tu essayé de donner explicitement le nom du fichier .php ? (on ne sait jamais...)

Hors ligne

#8 Le 18/02/2015, à 11:57

dwitgsi

Re : Chroot de php-fpm couplé à nginx

tiramiseb a écrit :

Je ne peux pas t'aider si tu conclus par "il n'en est rien".

C'est justement pour préciser que cette configuration ne fonctionne pas... Qu'est-ce qui te dérange dans cette phrase ??

tiramiseb a écrit :

Pour chaque test, il faut voir la config de nginx et de php-fpm et pour chaque test il faut valider que l'erreur est précisément la même.
Je ne peux pas aider en naviguant dans le brouillard.

Aurais-tu donc des tests à me proposer ? Je vais essayer de lister tous les tests que j'ai effectués dans le prochain post.

tiramiseb a écrit :

Par ailleurs, as-tu essayé de donner explicitement le nom du fichier .php ? (on ne sait jamais...)

Oui, j'ai précisé le index.php dans l'URL.


Cordialement,
dwitgsi

Hors ligne

#9 Le 18/02/2015, à 12:11

tiramiseb

Re : Chroot de php-fpm couplé à nginx

C'est justement pour préciser que cette configuration ne fonctionne pas... Qu'est-ce qui te dérange dans cette phrase ??

« ne fonctionne pas ».
C'est vague, comme terme.

En informatique, quand ça « ne fonctionne pas », il y a des messages d'erreur, des logs, etc.

Aurais-tu donc des tests à me proposer ? Je vais essayer de lister tous les tests que j'ai effectués dans le prochain post.

Tu essaies tes configs les unes après les autres, tu notes le message d'erreur obtenu, tu cherches ce qu'il y a dans les logs.
Tout cela afin de voir les différences de comportement selon les cas.

Car comme tu le dis, tu as essayé une config qui a priori devrait fonctionner, cela pourrait vouloir dire qu'il y a une seconde erreur.

Hors ligne

#10 Le 18/02/2015, à 12:19

dwitgsi

Re : Chroot de php-fpm couplé à nginx

##################### TEST 1 #####################

Le vhost nginx :

server {
        root /home/test/www;
        index index.html index.htm index.php;
        server_name test.domaine.local;

        access_log /home/test/logs/test-access_log;
        error_log /home/test/logs/test-error_log;

        location / {
                try_files $uri $uri/ /index.html;
                # Uncomment to enable naxsi on this location
                # include /etc/nginx/naxsi.rules
        }


        # Only for nginx-naxsi used with nginx-naxsi-ui : process denied requests
        #location /RequestDenied {
        #       proxy_pass http://127.0.0.1:8080;
        #}


        location ~ \.php$ {
               try_files $uri =404;
               fastcgi_pass unix:/home/test/tmp/test.sock;
               fastcgi_param SCRIPT_FILENAME $fastcgi_script_name;
               include fastcgi_params;
        }
}

La conf du pool de php-fpm :

[test]

user = test
group = test

listen = /home/test/tmp/test.sock

;listen.backlog = 128

listen.owner = test
listen.group = test
;listen.mode = 0660

;listen.allowed_clients = 127.0.0.1

pm = dynamic
pm.max_children = 5
pm.start_servers = 2
pm.min_spare_servers = 1
pm.max_spare_servers = 3
;pm.process_idle_timeout = 10s;
;pm.max_requests = 500
;pm.status_path = /status

;ping.path = /ping
;ping.response = pong

;access.log = /home/test/logs/$pool.access.log
;access.format = "%R - %u %t \"%m %r%Q%q\" %s %f %{mili}d %{kilo}M %C%%"

slowlog = /home/test/logs/$pool.log.slow
request_slowlog_timeout = 15
request_terminate_timeout = 20
;rlimit_files = 1024
;rlimit_core = 0

chroot = /home/test
chdir = /

;catch_workers_output = yes

;clear_env = no

;security.limit_extensions = .php .php3 .php4 .php5

;env[HOSTNAME] = $HOSTNAME
;env[PATH] = /usr/local/bin:/usr/bin:/bin
;env[TMP] = /tmp
;env[TMPDIR] = /tmp
;env[TEMP] = /tmp

;php_admin_value[sendmail_path] = /usr/sbin/sendmail -t -i -f www@my.domain.com
;php_flag[display_errors] = off
;php_admin_value[error_log] = /var/log/fpm-php.www.log
;php_admin_flag[log_errors] = on
php_admin_value[memory_limit] = 32M

Résultat :
Affichage de "File not found".

2015/02/18 11:05:05 [error] 35142#0: *1 FastCGI sent in stderr: "Primary script unknown" while reading response header from upstream, client: 172.16.2.9, server: test.domaine.local, request: "GET / HTTP/1.1", upstream: "fastcgi://unix:/home/test/tmp/test.sock:", host: "test.domaine.local"

#################################################

##################### TEST 2 #####################

Le vhost nginx :

server {
        root /home/test/www;
        index index.html index.htm index.php;
        server_name test.domaine.local;

        access_log /home/test/logs/test-access_log;
        error_log /home/test/logs/test-error_log;

        location / {
                try_files $uri $uri/ /index.html;
                # Uncomment to enable naxsi on this location
                # include /etc/nginx/naxsi.rules
        }


        # Only for nginx-naxsi used with nginx-naxsi-ui : process denied requests
        #location /RequestDenied {
        #       proxy_pass http://127.0.0.1:8080;
        #}


        location ~ \.php$ {
               try_files $uri =404;
               fastcgi_pass unix:/home/test/tmp/test.sock;
               fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
               include fastcgi_params;
        }
}

La conf du pool de php-fpm :
Identique au test précédent.

Résultat :
Identique au test précédent.

#################################################

##################### TEST 3 #####################

Le vhost nginx :

server {
        root /home/test/www;
        index index.html index.htm index.php;
        server_name test.domaine.local;

        access_log /home/test/logs/test-access_log;
        error_log /home/test/logs/test-error_log;

        location / {
                try_files $uri $uri/ /index.html;
                # Uncomment to enable naxsi on this location
                # include /etc/nginx/naxsi.rules
        }


        # Only for nginx-naxsi used with nginx-naxsi-ui : process denied requests
        #location /RequestDenied {
        #       proxy_pass http://127.0.0.1:8080;
        #}


        location ~ \.php$ {
               try_files $uri =404;
               fastcgi_pass unix:/home/test/tmp/test.sock;
               fastcgi_param SCRIPT_FILENAME /www$fastcgi_script_name;
               include fastcgi_params;
        }
}

La conf du pool de php-fpm :
Identique au test précédent.

Résultat :
Identique au test précédent.

#################################################

##################### TEST 4 #####################

Le vhost nginx :

server {
        root /home/test/www;
        index index.html index.htm index.php;
        server_name test.domaine.local;

        access_log /home/test/logs/test-access_log;
        error_log /home/test/logs/test-error_log;

        location / {
                try_files $uri $uri/ /index.html;
                # Uncomment to enable naxsi on this location
                # include /etc/nginx/naxsi.rules
        }


        # Only for nginx-naxsi used with nginx-naxsi-ui : process denied requests
        #location /RequestDenied {
        #       proxy_pass http://127.0.0.1:8080;
        #}


        location ~ \.php$ {
               try_files $uri =404;
               fastcgi_pass unix:/home/test/tmp/test.sock;
               fastcgi_param SCRIPT_FILENAME www$fastcgi_script_name;
               include fastcgi_params;
        }
}

La conf du pool de php-fpm :
Identique au test précédent.

Résultat :
Identique au test précédent.

#################################################

##################### TEST 5 #####################

Le vhost nginx :

server {
        root /home/test/www;
        index index.html index.htm index.php;
        server_name test.domaine.local;

        access_log /home/test/logs/test-access_log;
        error_log /home/test/logs/test-error_log;

        location / {
                try_files $uri $uri/ /index.html;
                # Uncomment to enable naxsi on this location
                # include /etc/nginx/naxsi.rules
        }


        # Only for nginx-naxsi used with nginx-naxsi-ui : process denied requests
        #location /RequestDenied {
        #       proxy_pass http://127.0.0.1:8080;
        #}


        location ~ \.php$ {
               try_files $uri =404;
               fastcgi_pass unix:/home/test/tmp/test.sock;
               fastcgi_param SCRIPT_FILENAME /home/test/www$fastcgi_script_name;
               include fastcgi_params;
        }
}

La conf du pool de php-fpm :
Identique au test précédent.

Résultat :
Identique au test précédent.

#################################################

J'ai ensuite modifié le "chdir" du pool fpm comme ceci :

[test]

user = test
group = test

listen = /home/test/tmp/test.sock

;listen.backlog = 128

listen.owner = test
listen.group = test
;listen.mode = 0660

;listen.allowed_clients = 127.0.0.1

pm = dynamic
pm.max_children = 5
pm.start_servers = 2
pm.min_spare_servers = 1
pm.max_spare_servers = 3
;pm.process_idle_timeout = 10s;
;pm.max_requests = 500
;pm.status_path = /status

;ping.path = /ping
;ping.response = pong

;access.log = /home/test/logs/$pool.access.log
;access.format = "%R - %u %t \"%m %r%Q%q\" %s %f %{mili}d %{kilo}M %C%%"

slowlog = /home/test/logs/$pool.log.slow
request_slowlog_timeout = 15
request_terminate_timeout = 20
;rlimit_files = 1024
;rlimit_core = 0

chroot = /home/test
chdir = /www

;catch_workers_output = yes

;clear_env = no

;security.limit_extensions = .php .php3 .php4 .php5

;env[HOSTNAME] = $HOSTNAME
;env[PATH] = /usr/local/bin:/usr/bin:/bin
;env[TMP] = /tmp
;env[TMPDIR] = /tmp
;env[TEMP] = /tmp

;php_admin_value[sendmail_path] = /usr/sbin/sendmail -t -i -f www@my.domain.com
;php_flag[display_errors] = off
;php_admin_value[error_log] = /var/log/fpm-php.www.log
;php_admin_flag[log_errors] = on
php_admin_value[memory_limit] = 32M

Et j'ai effectué tous les tests précedents (en modifiant donc le vhost nginx).
Les résultats sont les mêmes.

Que puis-je tester d'autre ?

Dernière modification par dwitgsi (Le 18/02/2015, à 12:20)


Cordialement,
dwitgsi

Hors ligne

#11 Le 18/02/2015, à 12:23

dwitgsi

Re : Chroot de php-fpm couplé à nginx

Est-ce qu'il y aurait une autre directive à placer dans le location de PHP qui permettrait d'indiquer explicitement l'emplacement du document_root ?


Cordialement,
dwitgsi

Hors ligne

#12 Le 18/02/2015, à 12:34

tiramiseb

Re : Chroot de php-fpm couplé à nginx

À mon sens, c'est le test 3 qui est le plus proche de la config qui devrait fonctionner.

Essaye d'augmenter la valeur log_level dans php-fpm.conf, pour voir si une erreur apparaît dans ce log. Je pense que ce serait la meilleure façon de résoudre le problème, plutôt que de tâtonner...

Hors ligne

#13 Le 18/02/2015, à 12:50

dwitgsi

Re : Chroot de php-fpm couplé à nginx

J'ai donc remit la configuration du test 3, et augmenté le log_level à debug. Effectivement, il est plus bavard :

[18-Feb-2015 11:43:03] NOTICE: Finishing ...
[18-Feb-2015 11:43:03] NOTICE: exiting, bye-bye!
[18-Feb-2015 11:43:03.513696] DEBUG: pid 35584, fpm_scoreboard_init_main(), line 40: got clock tick '100'
[18-Feb-2015 11:43:03.514316] DEBUG: pid 35584, fpm_event_init_main(), line 337: event module is epoll and 1 fds have been reserved
[18-Feb-2015 11:43:03.514369] NOTICE: pid 35584, fpm_init(), line 83: fpm is running, pid 35584
[18-Feb-2015 11:43:03.514393] DEBUG: pid 35584, main(), line 1845: Sending "1" (OK) to parent via fd=5
[18-Feb-2015 11:43:03.514778] DEBUG: pid 35584, fpm_children_make(), line 421: [pool test] child 35585 started
[18-Feb-2015 11:43:03.515174] DEBUG: pid 35584, fpm_children_make(), line 421: [pool test] child 35586 started
[18-Feb-2015 11:43:03.515542] DEBUG: pid 35584, fpm_children_make(), line 421: [pool www] child 35587 started
[18-Feb-2015 11:43:03.515950] DEBUG: pid 35584, fpm_children_make(), line 421: [pool www] child 35588 started
[18-Feb-2015 11:43:03.515994] DEBUG: pid 35584, fpm_pctl_heartbeat(), line 460: heartbeat have been set up with a timeout of 5000ms
[18-Feb-2015 11:43:03.516019] DEBUG: pid 35584, fpm_event_loop(), line 366: 11984 bytes have been reserved in SHM
[18-Feb-2015 11:43:03.516031] NOTICE: pid 35584, fpm_event_loop(), line 367: ready to handle connections
[18-Feb-2015 11:43:04.519628] DEBUG: pid 35584, fpm_pctl_perform_idle_server_maintenance(), line 379: [pool test] currently 0 active children, 2 spare children, 2 running children. Spawning rate 1
[18-Feb-2015 11:43:04.519703] DEBUG: pid 35584, fpm_pctl_perform_idle_server_maintenance(), line 379: [pool www] currently 0 active children, 2 spare children, 2 running children. Spawning rate 1
[18-Feb-2015 11:43:05.532536] DEBUG: pid 35584, fpm_pctl_perform_idle_server_maintenance(), line 379: [pool test] currently 0 active children, 2 spare children, 2 running children. Spawning rate 1
[18-Feb-2015 11:43:05.532613] DEBUG: pid 35584, fpm_pctl_perform_idle_server_maintenance(), line 379: [pool www] currently 0 active children, 2 spare children, 2 running children. Spawning rate 1
[18-Feb-2015 11:43:06.539556] DEBUG: pid 35584, fpm_pctl_perform_idle_server_maintenance(), line 379: [pool test] currently 0 active children, 2 spare children, 2 running children. Spawning rate 1
[18-Feb-2015 11:43:06.539629] DEBUG: pid 35584, fpm_pctl_perform_idle_server_maintenance(), line 379: [pool www] currently 0 active children, 2 spare children, 2 running children. Spawning rate 1
[18-Feb-2015 11:43:07.543550] DEBUG: pid 35584, fpm_pctl_perform_idle_server_maintenance(), line 379: [pool test] currently 0 active children, 2 spare children, 2 running children. Spawning rate 1
[18-Feb-2015 11:43:07.543622] DEBUG: pid 35584, fpm_pctl_perform_idle_server_maintenance(), line 379: [pool www] currently 0 active children, 2 spare children, 2 running children. Spawning rate 1
[18-Feb-2015 11:43:08.547518] DEBUG: pid 35584, fpm_pctl_perform_idle_server_maintenance(), line 379: [pool test] currently 0 active children, 2 spare children, 2 running children. Spawning rate 1
[18-Feb-2015 11:43:08.547580] DEBUG: pid 35584, fpm_pctl_perform_idle_server_maintenance(), line 379: [pool www] currently 0 active children, 2 spare children, 2 running children. Spawning rate 1
[18-Feb-2015 11:43:09.551532] DEBUG: pid 35584, fpm_pctl_perform_idle_server_maintenance(), line 379: [pool test] currently 0 active children, 2 spare children, 2 running children. Spawning rate 1
[18-Feb-2015 11:43:09.551601] DEBUG: pid 35584, fpm_pctl_perform_idle_server_maintenance(), line 379: [pool www] currently 0 active children, 2 spare children, 2 running children. Spawning rate 1
[18-Feb-2015 11:43:10.555517] DEBUG: pid 35584, fpm_pctl_perform_idle_server_maintenance(), line 379: [pool test] currently 0 active children, 2 spare children, 2 running children. Spawning rate 1
[18-Feb-2015 11:43:10.555594] DEBUG: pid 35584, fpm_pctl_perform_idle_server_maintenance(), line 379: [pool www] currently 0 active children, 2 spare children, 2 running children. Spawning rate 1
[18-Feb-2015 11:43:11.559538] DEBUG: pid 35584, fpm_pctl_perform_idle_server_maintenance(), line 379: [pool test] currently 0 active children, 2 spare children, 2 running children. Spawning rate 1
[18-Feb-2015 11:43:11.559616] DEBUG: pid 35584, fpm_pctl_perform_idle_server_maintenance(), line 379: [pool www] currently 0 active children, 2 spare children, 2 running children. Spawning rate 1
[18-Feb-2015 11:43:12.563492] DEBUG: pid 35584, fpm_pctl_perform_idle_server_maintenance(), line 379: [pool test] currently 0 active children, 2 spare children, 2 running children. Spawning rate 1
[18-Feb-2015 11:43:12.563565] DEBUG: pid 35584, fpm_pctl_perform_idle_server_maintenance(), line 379: [pool www] currently 0 active children, 2 spare children, 2 running children. Spawning rate 1
[18-Feb-2015 11:43:13.567488] DEBUG: pid 35584, fpm_pctl_perform_idle_server_maintenance(), line 379: [pool test] currently 0 active children, 2 spare children, 2 running children. Spawning rate 1
[18-Feb-2015 11:43:13.567561] DEBUG: pid 35584, fpm_pctl_perform_idle_server_maintenance(), line 379: [pool www] currently 0 active children, 2 spare children, 2 running children. Spawning rate 1
[18-Feb-2015 11:43:14.571509] DEBUG: pid 35584, fpm_pctl_perform_idle_server_maintenance(), line 379: [pool test] currently 0 active children, 2 spare children, 2 running children. Spawning rate 1
[18-Feb-2015 11:43:14.571582] DEBUG: pid 35584, fpm_pctl_perform_idle_server_maintenance(), line 379: [pool www] currently 0 active children, 2 spare children, 2 running children. Spawning rate 1
[18-Feb-2015 11:43:15.575471] DEBUG: pid 35584, fpm_pctl_perform_idle_server_maintenance(), line 379: [pool test] currently 0 active children, 2 spare children, 2 running children. Spawning rate 1
[18-Feb-2015 11:43:15.575544] DEBUG: pid 35584, fpm_pctl_perform_idle_server_maintenance(), line 379: [pool www] currently 0 active children, 2 spare children, 2 running children. Spawning rate 1
[18-Feb-2015 11:43:16.579449] DEBUG: pid 35584, fpm_pctl_perform_idle_server_maintenance(), line 379: [pool test] currently 0 active children, 2 spare children, 2 running children. Spawning rate 1
[18-Feb-2015 11:43:16.579523] DEBUG: pid 35584, fpm_pctl_perform_idle_server_maintenance(), line 379: [pool www] currently 0 active children, 2 spare children, 2 running children. Spawning rate 1
[18-Feb-2015 11:43:17.583484] DEBUG: pid 35584, fpm_pctl_perform_idle_server_maintenance(), line 379: [pool test] currently 0 active children, 2 spare children, 2 running children. Spawning rate 1
[18-Feb-2015 11:43:17.583561] DEBUG: pid 35584, fpm_pctl_perform_idle_server_maintenance(), line 379: [pool www] currently 0 active children, 2 spare children, 2 running children. Spawning rate 1
[18-Feb-2015 11:43:18.587413] DEBUG: pid 35584, fpm_pctl_perform_idle_server_maintenance(), line 379: [pool test] currently 0 active children, 2 spare children, 2 running children. Spawning rate 1
[18-Feb-2015 11:43:18.587504] DEBUG: pid 35584, fpm_pctl_perform_idle_server_maintenance(), line 379: [pool www] currently 0 active children, 2 spare children, 2 running children. Spawning rate 1
[18-Feb-2015 11:43:19.591409] DEBUG: pid 35584, fpm_pctl_perform_idle_server_maintenance(), line 379: [pool test] currently 0 active children, 2 spare children, 2 running children. Spawning rate 1
[18-Feb-2015 11:43:19.591481] DEBUG: pid 35584, fpm_pctl_perform_idle_server_maintenance(), line 379: [pool www] currently 0 active children, 2 spare children, 2 running children. Spawning rate 1
[18-Feb-2015 11:43:20.595408] DEBUG: pid 35584, fpm_pctl_perform_idle_server_maintenance(), line 379: [pool test] currently 0 active children, 2 spare children, 2 running children. Spawning rate 1
[18-Feb-2015 11:43:20.595484] DEBUG: pid 35584, fpm_pctl_perform_idle_server_maintenance(), line 379: [pool www] currently 0 active children, 2 spare children, 2 running children. Spawning rate 1
[18-Feb-2015 11:43:21.599405] DEBUG: pid 35584, fpm_pctl_perform_idle_server_maintenance(), line 379: [pool test] currently 0 active children, 2 spare children, 2 running children. Spawning rate 1
[18-Feb-2015 11:43:21.599477] DEBUG: pid 35584, fpm_pctl_perform_idle_server_maintenance(), line 379: [pool www] currently 0 active children, 2 spare children, 2 running children. Spawning rate 1
[18-Feb-2015 11:43:22.603382] DEBUG: pid 35584, fpm_pctl_perform_idle_server_maintenance(), line 379: [pool test] currently 0 active children, 2 spare children, 2 running children. Spawning rate 1
[18-Feb-2015 11:43:22.603459] DEBUG: pid 35584, fpm_pctl_perform_idle_server_maintenance(), line 379: [pool www] currently 0 active children, 2 spare children, 2 running children. Spawning rate 1
[18-Feb-2015 11:43:23.607397] DEBUG: pid 35584, fpm_pctl_perform_idle_server_maintenance(), line 379: [pool test] currently 0 active children, 2 spare children, 2 running children. Spawning rate 1
[18-Feb-2015 11:43:23.607473] DEBUG: pid 35584, fpm_pctl_perform_idle_server_maintenance(), line 379: [pool www] currently 0 active children, 2 spare children, 2 running children. Spawning rate 1
[18-Feb-2015 11:43:24.611348] DEBUG: pid 35584, fpm_pctl_perform_idle_server_maintenance(), line 379: [pool test] currently 0 active children, 2 spare children, 2 running children. Spawning rate 1
[18-Feb-2015 11:43:24.611418] DEBUG: pid 35584, fpm_pctl_perform_idle_server_maintenance(), line 379: [pool www] currently 0 active children, 2 spare children, 2 running children. Spawning rate 1
[18-Feb-2015 11:43:25.615335] DEBUG: pid 35584, fpm_pctl_perform_idle_server_maintenance(), line 379: [pool test] currently 0 active children, 2 spare children, 2 running children. Spawning rate 1
[18-Feb-2015 11:43:25.615408] DEBUG: pid 35584, fpm_pctl_perform_idle_server_maintenance(), line 379: [pool www] currently 0 active children, 2 spare children, 2 running children. Spawning rate 1
[18-Feb-2015 11:43:26.619391] DEBUG: pid 35584, fpm_pctl_perform_idle_server_maintenance(), line 379: [pool test] currently 0 active children, 2 spare children, 2 running children. Spawning rate 1
[18-Feb-2015 11:43:26.619482] DEBUG: pid 35584, fpm_pctl_perform_idle_server_maintenance(), line 379: [pool www] currently 0 active children, 2 spare children, 2 running children. Spawning rate 1
[18-Feb-2015 11:43:27.623326] DEBUG: pid 35584, fpm_pctl_perform_idle_server_maintenance(), line 379: [pool test] currently 0 active children, 2 spare children, 2 running children. Spawning rate 1
[18-Feb-2015 11:43:27.623386] DEBUG: pid 35584, fpm_pctl_perform_idle_server_maintenance(), line 379: [pool www] currently 0 active children, 2 spare children, 2 running children. Spawning rate 1
[18-Feb-2015 11:43:28.627307] DEBUG: pid 35584, fpm_pctl_perform_idle_server_maintenance(), line 379: [pool test] currently 0 active children, 2 spare children, 2 running children. Spawning rate 1
[18-Feb-2015 11:43:28.627381] DEBUG: pid 35584, fpm_pctl_perform_idle_server_maintenance(), line 379: [pool www] currently 0 active children, 2 spare children, 2 running children. Spawning rate 1
[18-Feb-2015 11:43:29.631315] DEBUG: pid 35584, fpm_pctl_perform_idle_server_maintenance(), line 379: [pool test] currently 0 active children, 2 spare children, 2 running children. Spawning rate 1
[18-Feb-2015 11:43:29.631388] DEBUG: pid 35584, fpm_pctl_perform_idle_server_maintenance(), line 379: [pool www] currently 0 active children, 2 spare children, 2 running children. Spawning rate 1
[18-Feb-2015 11:43:30.638732] DEBUG: pid 35584, fpm_pctl_perform_idle_server_maintenance(), line 379: [pool test] currently 0 active children, 2 spare children, 2 running children. Spawning rate 1
[18-Feb-2015 11:43:30.638806] DEBUG: pid 35584, fpm_pctl_perform_idle_server_maintenance(), line 379: [pool www] currently 0 active children, 2 spare children, 2 running children. Spawning rate 1
[18-Feb-2015 11:43:31.643235] DEBUG: pid 35584, fpm_pctl_perform_idle_server_maintenance(), line 379: [pool test] currently 0 active children, 2 spare children, 2 running children. Spawning rate 1
[18-Feb-2015 11:43:31.643306] DEBUG: pid 35584, fpm_pctl_perform_idle_server_maintenance(), line 379: [pool www] currently 0 active children, 2 spare children, 2 running children. Spawning rate 1
[18-Feb-2015 11:43:32.647240] DEBUG: pid 35584, fpm_pctl_perform_idle_server_maintenance(), line 379: [pool test] currently 0 active children, 2 spare children, 2 running children. Spawning rate 1
[18-Feb-2015 11:43:32.647313] DEBUG: pid 35584, fpm_pctl_perform_idle_server_maintenance(), line 379: [pool www] currently 0 active children, 2 spare children, 2 running children. Spawning rate 1
[18-Feb-2015 11:43:33.651231] DEBUG: pid 35584, fpm_pctl_perform_idle_server_maintenance(), line 379: [pool test] currently 0 active children, 2 spare children, 2 running children. Spawning rate 1
[18-Feb-2015 11:43:33.651308] DEBUG: pid 35584, fpm_pctl_perform_idle_server_maintenance(), line 379: [pool www] currently 0 active children, 2 spare children, 2 running children. Spawning rate 1
[18-Feb-2015 11:43:34.655236] DEBUG: pid 35584, fpm_pctl_perform_idle_server_maintenance(), line 379: [pool test] currently 0 active children, 2 spare children, 2 running children. Spawning rate 1
[18-Feb-2015 11:43:34.655308] DEBUG: pid 35584, fpm_pctl_perform_idle_server_maintenance(), line 379: [pool www] currently 0 active children, 2 spare children, 2 running children. Spawning rate 1
[18-Feb-2015 11:43:35.659212] DEBUG: pid 35584, fpm_pctl_perform_idle_server_maintenance(), line 379: [pool test] currently 0 active children, 2 spare children, 2 running children. Spawning rate 1
[18-Feb-2015 11:43:35.659284] DEBUG: pid 35584, fpm_pctl_perform_idle_server_maintenance(), line 379: [pool www] currently 0 active children, 2 spare children, 2 running children. Spawning rate 1
[18-Feb-2015 11:43:36.663186] DEBUG: pid 35584, fpm_pctl_perform_idle_server_maintenance(), line 379: [pool test] currently 0 active children, 2 spare children, 2 running children. Spawning rate 1
[18-Feb-2015 11:43:36.663262] DEBUG: pid 35584, fpm_pctl_perform_idle_server_maintenance(), line 379: [pool www] currently 0 active children, 2 spare children, 2 running children. Spawning rate 1
[18-Feb-2015 11:43:37.667173] DEBUG: pid 35584, fpm_pctl_perform_idle_server_maintenance(), line 379: [pool test] currently 0 active children, 2 spare children, 2 running children. Spawning rate 1
[18-Feb-2015 11:43:37.667250] DEBUG: pid 35584, fpm_pctl_perform_idle_server_maintenance(), line 379: [pool www] currently 0 active children, 2 spare children, 2 running children. Spawning rate 1
[18-Feb-2015 11:43:38.671195] DEBUG: pid 35584, fpm_pctl_perform_idle_server_maintenance(), line 379: [pool test] currently 0 active children, 2 spare children, 2 running children. Spawning rate 1
[18-Feb-2015 11:43:38.671275] DEBUG: pid 35584, fpm_pctl_perform_idle_server_maintenance(), line 379: [pool www] currently 0 active children, 2 spare children, 2 running children. Spawning rate 1
[18-Feb-2015 11:43:39.675158] DEBUG: pid 35584, fpm_pctl_perform_idle_server_maintenance(), line 379: [pool test] currently 0 active children, 2 spare children, 2 running children. Spawning rate 1
[18-Feb-2015 11:43:39.675235] DEBUG: pid 35584, fpm_pctl_perform_idle_server_maintenance(), line 379: [pool www] currently 0 active children, 2 spare children, 2 running children. Spawning rate 1
[18-Feb-2015 11:43:40.679158] DEBUG: pid 35584, fpm_pctl_perform_idle_server_maintenance(), line 379: [pool test] currently 0 active children, 2 spare children, 2 running children. Spawning rate 1
[18-Feb-2015 11:43:40.679232] DEBUG: pid 35584, fpm_pctl_perform_idle_server_maintenance(), line 379: [pool www] currently 0 active children, 2 spare children, 2 running children. Spawning rate 1
[18-Feb-2015 11:43:41.683111] DEBUG: pid 35584, fpm_pctl_perform_idle_server_maintenance(), line 379: [pool test] currently 0 active children, 2 spare children, 2 running children. Spawning rate 1
[18-Feb-2015 11:43:41.683173] DEBUG: pid 35584, fpm_pctl_perform_idle_server_maintenance(), line 379: [pool www] currently 0 active children, 2 spare children, 2 running children. Spawning rate 1
[18-Feb-2015 11:43:42.687130] DEBUG: pid 35584, fpm_pctl_perform_idle_server_maintenance(), line 379: [pool test] currently 0 active children, 2 spare children, 2 running children. Spawning rate 1
[18-Feb-2015 11:43:42.687203] DEBUG: pid 35584, fpm_pctl_perform_idle_server_maintenance(), line 379: [pool www] currently 0 active children, 2 spare children, 2 running children. Spawning rate 1
[18-Feb-2015 11:43:43.691098] DEBUG: pid 35584, fpm_pctl_perform_idle_server_maintenance(), line 379: [pool test] currently 0 active children, 2 spare children, 2 running children. Spawning rate 1
[18-Feb-2015 11:43:43.691171] DEBUG: pid 35584, fpm_pctl_perform_idle_server_maintenance(), line 379: [pool www] currently 0 active children, 2 spare children, 2 running children. Spawning rate 1
[18-Feb-2015 11:43:44.695267] DEBUG: pid 35584, fpm_pctl_perform_idle_server_maintenance(), line 379: [pool test] currently 0 active children, 2 spare children, 2 running children. Spawning rate 1
[18-Feb-2015 11:43:44.695326] DEBUG: pid 35584, fpm_pctl_perform_idle_server_maintenance(), line 379: [pool www] currently 0 active children, 2 spare children, 2 running children. Spawning rate 1
[18-Feb-2015 11:43:45.699119] DEBUG: pid 35584, fpm_pctl_perform_idle_server_maintenance(), line 379: [pool test] currently 0 active children, 2 spare children, 2 running children. Spawning rate 1
[18-Feb-2015 11:43:45.699192] DEBUG: pid 35584, fpm_pctl_perform_idle_server_maintenance(), line 379: [pool www] currently 0 active children, 2 spare children, 2 running children. Spawning rate 1
[18-Feb-2015 11:43:45.962362] DEBUG: pid 35584, fpm_got_signal(), line 90: received SIGQUIT
[18-Feb-2015 11:43:45.962410] NOTICE: pid 35584, fpm_got_signal(), line 91: Finishing ...
[18-Feb-2015 11:43:45.962458] DEBUG: pid 35584, fpm_pctl(), line 231: switching to 'finishing' state
[18-Feb-2015 11:43:45.962491] DEBUG: pid 35584, fpm_pctl_kill_all(), line 159: [pool test] sending signal 3 SIGQUIT to child 35586
[18-Feb-2015 11:43:45.962518] DEBUG: pid 35584, fpm_pctl_kill_all(), line 159: [pool test] sending signal 3 SIGQUIT to child 35585
[18-Feb-2015 11:43:45.962542] DEBUG: pid 35584, fpm_pctl_kill_all(), line 159: [pool www] sending signal 3 SIGQUIT to child 35588
[18-Feb-2015 11:43:45.962558] DEBUG: pid 35584, fpm_pctl_kill_all(), line 159: [pool www] sending signal 3 SIGQUIT to child 35587
[18-Feb-2015 11:43:45.962569] DEBUG: pid 35584, fpm_pctl_kill_all(), line 168: 4 child(ren) still alive
[18-Feb-2015 11:43:45.962584] DEBUG: pid 35584, fpm_event_loop(), line 419: event module triggered 1 events
[18-Feb-2015 11:43:45.962606] DEBUG: pid 35584, fpm_pctl_kill_all(), line 159: [pool test] sending signal 15 SIGTERM to child 35586
[18-Feb-2015 11:43:45.962618] DEBUG: pid 35584, fpm_pctl_kill_all(), line 159: [pool test] sending signal 15 SIGTERM to child 35585
[18-Feb-2015 11:43:45.962629] DEBUG: pid 35584, fpm_pctl_kill_all(), line 159: [pool www] sending signal 15 SIGTERM to child 35588
[18-Feb-2015 11:43:45.962657] DEBUG: pid 35584, fpm_pctl_kill_all(), line 159: [pool www] sending signal 15 SIGTERM to child 35587
[18-Feb-2015 11:43:45.962667] DEBUG: pid 35584, fpm_pctl_kill_all(), line 168: 4 child(ren) still alive
[18-Feb-2015 11:43:45.963239] DEBUG: pid 35584, fpm_got_signal(), line 76: received SIGCHLD
[18-Feb-2015 11:43:45.963295] DEBUG: pid 35584, fpm_children_bury(), line 252: [pool test] child 35586 exited on signal 15 (SIGTERM) after 42.448129 seconds from start
[18-Feb-2015 11:43:45.963318] DEBUG: pid 35584, fpm_children_bury(), line 252: [pool www] child 35587 exited on signal 15 (SIGTERM) after 42.447785 seconds from start
[18-Feb-2015 11:43:45.963332] DEBUG: pid 35584, fpm_event_loop(), line 419: event module triggered 1 events
[18-Feb-2015 11:43:45.963495] DEBUG: pid 35584, fpm_got_signal(), line 76: received SIGCHLD
[18-Feb-2015 11:43:45.963526] DEBUG: pid 35584, fpm_children_bury(), line 252: [pool test] child 35585 exited on signal 15 (SIGTERM) after 42.448756 seconds from start
[18-Feb-2015 11:43:45.963541] DEBUG: pid 35584, fpm_event_loop(), line 419: event module triggered 1 events
[18-Feb-2015 11:43:45.963850] DEBUG: pid 35584, fpm_got_signal(), line 76: received SIGCHLD
[18-Feb-2015 11:43:45.963879] DEBUG: pid 35584, fpm_children_bury(), line 252: [pool www] child 35588 exited on signal 15 (SIGTERM) after 42.447940 seconds from start
[18-Feb-2015 11:43:45.963896] NOTICE: pid 35584, fpm_pctl_exit(), line 70: exiting, bye-bye!
[18-Feb-2015 11:43:46.032307] DEBUG: pid 35697, fpm_scoreboard_init_main(), line 40: got clock tick '100'
[18-Feb-2015 11:43:46.032899] DEBUG: pid 35697, fpm_event_init_main(), line 337: event module is epoll and 1 fds have been reserved
[18-Feb-2015 11:43:46.032953] NOTICE: pid 35697, fpm_init(), line 83: fpm is running, pid 35697
[18-Feb-2015 11:43:46.032976] DEBUG: pid 35697, main(), line 1845: Sending "1" (OK) to parent via fd=5
[18-Feb-2015 11:43:46.033478] DEBUG: pid 35697, fpm_children_make(), line 421: [pool test] child 35698 started
[18-Feb-2015 11:43:46.033842] DEBUG: pid 35697, fpm_children_make(), line 421: [pool test] child 35699 started
[18-Feb-2015 11:43:46.034207] DEBUG: pid 35697, fpm_children_make(), line 421: [pool www] child 35700 started
[18-Feb-2015 11:43:46.034572] DEBUG: pid 35697, fpm_children_make(), line 421: [pool www] child 35701 started
[18-Feb-2015 11:43:46.034610] DEBUG: pid 35697, fpm_pctl_heartbeat(), line 460: heartbeat have been set up with a timeout of 5000ms
[18-Feb-2015 11:43:46.034635] DEBUG: pid 35697, fpm_event_loop(), line 366: 11984 bytes have been reserved in SHM
[18-Feb-2015 11:43:46.034647] NOTICE: pid 35697, fpm_event_loop(), line 367: ready to handle connections
[18-Feb-2015 11:43:47.039068] DEBUG: pid 35697, fpm_pctl_perform_idle_server_maintenance(), line 379: [pool test] currently 0 active children, 2 spare children, 2 running children. Spawning rate 1
[18-Feb-2015 11:43:47.039141] DEBUG: pid 35697, fpm_pctl_perform_idle_server_maintenance(), line 379: [pool www] currently 0 active children, 2 spare children, 2 running children. Spawning rate 1
[18-Feb-2015 11:43:48.043043] DEBUG: pid 35697, fpm_pctl_perform_idle_server_maintenance(), line 379: [pool test] currently 0 active children, 2 spare children, 2 running children. Spawning rate 1
[18-Feb-2015 11:43:48.043122] DEBUG: pid 35697, fpm_pctl_perform_idle_server_maintenance(), line 379: [pool www] currently 0 active children, 2 spare children, 2 running children. Spawning rate 1
[18-Feb-2015 11:43:49.047066] DEBUG: pid 35697, fpm_pctl_perform_idle_server_maintenance(), line 379: [pool test] currently 0 active children, 2 spare children, 2 running children. Spawning rate 1
[18-Feb-2015 11:43:49.047144] DEBUG: pid 35697, fpm_pctl_perform_idle_server_maintenance(), line 379: [pool www] currently 0 active children, 2 spare children, 2 running children. Spawning rate 1
[18-Feb-2015 11:43:50.051024] DEBUG: pid 35697, fpm_pctl_perform_idle_server_maintenance(), line 379: [pool test] currently 0 active children, 2 spare children, 2 running children. Spawning rate 1
[18-Feb-2015 11:43:50.051116] DEBUG: pid 35697, fpm_pctl_perform_idle_server_maintenance(), line 379: [pool www] currently 0 active children, 2 spare children, 2 running children. Spawning rate 1
[18-Feb-2015 11:43:51.054990] DEBUG: pid 35697, fpm_pctl_perform_idle_server_maintenance(), line 379: [pool test] currently 0 active children, 2 spare children, 2 running children. Spawning rate 1
[18-Feb-2015 11:43:51.055063] DEBUG: pid 35697, fpm_pctl_perform_idle_server_maintenance(), line 379: [pool www] currently 0 active children, 2 spare children, 2 running children. Spawning rate 1
[18-Feb-2015 11:43:52.058991] DEBUG: pid 35697, fpm_pctl_perform_idle_server_maintenance(), line 379: [pool test] currently 0 active children, 2 spare children, 2 running children. Spawning rate 1
[18-Feb-2015 11:43:52.059063] DEBUG: pid 35697, fpm_pctl_perform_idle_server_maintenance(), line 379: [pool www] currently 0 active children, 2 spare children, 2 running children. Spawning rate 1
[18-Feb-2015 11:43:53.062988] DEBUG: pid 35697, fpm_pctl_perform_idle_server_maintenance(), line 379: [pool test] currently 0 active children, 2 spare children, 2 running children. Spawning rate 1
[18-Feb-2015 11:43:53.063060] DEBUG: pid 35697, fpm_pctl_perform_idle_server_maintenance(), line 379: [pool www] currently 0 active children, 2 spare children, 2 running children. Spawning rate 1
[18-Feb-2015 11:43:54.067140] DEBUG: pid 35697, fpm_pctl_perform_idle_server_maintenance(), line 379: [pool test] currently 0 active children, 2 spare children, 2 running children. Spawning rate 1
[18-Feb-2015 11:43:54.067218] DEBUG: pid 35697, fpm_pctl_perform_idle_server_maintenance(), line 379: [pool www] currently 0 active children, 2 spare children, 2 running children. Spawning rate 1
[18-Feb-2015 11:43:55.071006] DEBUG: pid 35697, fpm_pctl_perform_idle_server_maintenance(), line 379: [pool test] currently 0 active children, 2 spare children, 2 running children. Spawning rate 1
[18-Feb-2015 11:43:55.071094] DEBUG: pid 35697, fpm_pctl_perform_idle_server_maintenance(), line 379: [pool www] currently 0 active children, 2 spare children, 2 running children. Spawning rate 1
[18-Feb-2015 11:43:56.074962] DEBUG: pid 35697, fpm_pctl_perform_idle_server_maintenance(), line 379: [pool test] currently 0 active children, 2 spare children, 2 running children. Spawning rate 1
[18-Feb-2015 11:43:56.075037] DEBUG: pid 35697, fpm_pctl_perform_idle_server_maintenance(), line 379: [pool www] currently 0 active children, 2 spare children, 2 running children. Spawning rate 1
[18-Feb-2015 11:43:57.078934] DEBUG: pid 35697, fpm_pctl_perform_idle_server_maintenance(), line 379: [pool test] currently 0 active children, 2 spare children, 2 running children. Spawning rate 1
[18-Feb-2015 11:43:57.079008] DEBUG: pid 35697, fpm_pctl_perform_idle_server_maintenance(), line 379: [pool www] currently 0 active children, 2 spare children, 2 running children. Spawning rate 1
[18-Feb-2015 11:43:58.082926] DEBUG: pid 35697, fpm_pctl_perform_idle_server_maintenance(), line 379: [pool test] currently 0 active children, 2 spare children, 2 running children. Spawning rate 1
[18-Feb-2015 11:43:58.083000] DEBUG: pid 35697, fpm_pctl_perform_idle_server_maintenance(), line 379: [pool www] currently 0 active children, 2 spare children, 2 running children. Spawning rate 1
[18-Feb-2015 11:43:59.086935] DEBUG: pid 35697, fpm_pctl_perform_idle_server_maintenance(), line 379: [pool test] currently 0 active children, 2 spare children, 2 running children. Spawning rate 1
[18-Feb-2015 11:43:59.087008] DEBUG: pid 35697, fpm_pctl_perform_idle_server_maintenance(), line 379: [pool www] currently 0 active children, 2 spare children, 2 running children. Spawning rate 1
[18-Feb-2015 11:44:00.090922] DEBUG: pid 35697, fpm_pctl_perform_idle_server_maintenance(), line 379: [pool test] currently 0 active children, 2 spare children, 2 running children. Spawning rate 1
[18-Feb-2015 11:44:00.091000] DEBUG: pid 35697, fpm_pctl_perform_idle_server_maintenance(), line 379: [pool www] currently 0 active children, 2 spare children, 2 running children. Spawning rate 1
[18-Feb-2015 11:44:01.094892] DEBUG: pid 35697, fpm_pctl_perform_idle_server_maintenance(), line 379: [pool test] currently 0 active children, 2 spare children, 2 running children. Spawning rate 1
[18-Feb-2015 11:44:01.094971] DEBUG: pid 35697, fpm_pctl_perform_idle_server_maintenance(), line 379: [pool www] currently 0 active children, 2 spare children, 2 running children. Spawning rate 1
[18-Feb-2015 11:44:02.098876] DEBUG: pid 35697, fpm_pctl_perform_idle_server_maintenance(), line 379: [pool test] currently 0 active children, 2 spare children, 2 running children. Spawning rate 1
[18-Feb-2015 11:44:02.098951] DEBUG: pid 35697, fpm_pctl_perform_idle_server_maintenance(), line 379: [pool www] currently 0 active children, 2 spare children, 2 running children. Spawning rate 1
[18-Feb-2015 11:44:03.102855] DEBUG: pid 35697, fpm_pctl_perform_idle_server_maintenance(), line 379: [pool test] currently 0 active children, 2 spare children, 2 running children. Spawning rate 1
[18-Feb-2015 11:44:03.102927] DEBUG: pid 35697, fpm_pctl_perform_idle_server_maintenance(), line 379: [pool www] currently 0 active children, 2 spare children, 2 running children. Spawning rate 1
[18-Feb-2015 11:44:04.106894] DEBUG: pid 35697, fpm_pctl_perform_idle_server_maintenance(), line 379: [pool test] currently 0 active children, 2 spare children, 2 running children. Spawning rate 1
[18-Feb-2015 11:44:04.106968] DEBUG: pid 35697, fpm_pctl_perform_idle_server_maintenance(), line 379: [pool www] currently 0 active children, 2 spare children, 2 running children. Spawning rate 1
[18-Feb-2015 11:44:05.110854] DEBUG: pid 35697, fpm_pctl_perform_idle_server_maintenance(), line 379: [pool test] currently 0 active children, 2 spare children, 2 running children. Spawning rate 1
[18-Feb-2015 11:44:05.110927] DEBUG: pid 35697, fpm_pctl_perform_idle_server_maintenance(), line 379: [pool www] currently 0 active children, 2 spare children, 2 running children. Spawning rate 1
[18-Feb-2015 11:44:06.114818] DEBUG: pid 35697, fpm_pctl_perform_idle_server_maintenance(), line 379: [pool test] currently 0 active children, 2 spare children, 2 running children. Spawning rate 1
[18-Feb-2015 11:44:06.114896] DEBUG: pid 35697, fpm_pctl_perform_idle_server_maintenance(), line 379: [pool www] currently 0 active children, 2 spare children, 2 running children. Spawning rate 1
[18-Feb-2015 11:44:07.118824] DEBUG: pid 35697, fpm_pctl_perform_idle_server_maintenance(), line 379: [pool test] currently 0 active children, 2 spare children, 2 running children. Spawning rate 1
[18-Feb-2015 11:44:07.118899] DEBUG: pid 35697, fpm_pctl_perform_idle_server_maintenance(), line 379: [pool www] currently 0 active children, 2 spare children, 2 running children. Spawning rate 1
[18-Feb-2015 11:44:08.122786] DEBUG: pid 35697, fpm_pctl_perform_idle_server_maintenance(), line 379: [pool test] currently 0 active children, 2 spare children, 2 running children. Spawning rate 1
[18-Feb-2015 11:44:08.122855] DEBUG: pid 35697, fpm_pctl_perform_idle_server_maintenance(), line 379: [pool www] currently 0 active children, 2 spare children, 2 running children. Spawning rate 1
[18-Feb-2015 11:44:09.126817] DEBUG: pid 35697, fpm_pctl_perform_idle_server_maintenance(), line 379: [pool test] currently 0 active children, 2 spare children, 2 running children. Spawning rate 1
[18-Feb-2015 11:44:09.126889] DEBUG: pid 35697, fpm_pctl_perform_idle_server_maintenance(), line 379: [pool www] currently 0 active children, 2 spare children, 2 running children. Spawning rate 1
[18-Feb-2015 11:44:10.130819] DEBUG: pid 35697, fpm_pctl_perform_idle_server_maintenance(), line 379: [pool test] currently 0 active children, 2 spare children, 2 running children. Spawning rate 1
[18-Feb-2015 11:44:10.130905] DEBUG: pid 35697, fpm_pctl_perform_idle_server_maintenance(), line 379: [pool www] currently 0 active children, 2 spare children, 2 running children. Spawning rate 1
[18-Feb-2015 11:44:11.134760] DEBUG: pid 35697, fpm_pctl_perform_idle_server_maintenance(), line 379: [pool test] currently 0 active children, 2 spare children, 2 running children. Spawning rate 1
[18-Feb-2015 11:44:11.134851] DEBUG: pid 35697, fpm_pctl_perform_idle_server_maintenance(), line 379: [pool www] currently 0 active children, 2 spare children, 2 running children. Spawning rate 1

Je ne vois rien d'intéressant, et toi ?


Cordialement,
dwitgsi

Hors ligne

#14 Le 18/02/2015, à 13:11

tiramiseb

Re : Chroot de php-fpm couplé à nginx

As-tu regardé ce qu'il y a dans les logs précisément au moment où tu fais ta requête ?
Plutôt que de fouiller dans des logs a posteriori, regarde ce qui apparaît en temps réel...

Hors ligne

#15 Le 18/02/2015, à 13:21

dwitgsi

Re : Chroot de php-fpm couplé à nginx

Ça sera sympa de ne pas me considérer comme un simple d'esprit...
Le log précédent démarre au reboot du service php-fpm et se termine après l'exécution de la requête.

Après ces quelques jours de recherches, je vais me passer du chroot...


Cordialement,
dwitgsi

Hors ligne

#16 Le 18/02/2015, à 16:31

tiramiseb

Re : Chroot de php-fpm couplé à nginx

Où t'ai-je considéré comme un simple d'esprit ? Je pose des questions bien précises, c'est tout.

Ça sera sympa de ne pas me considérer comme un devin...

Là tu montres 1 minute et 8 secondes de logs, je ne suis pas capable de deviner quand tu as effectué la requête et à quelle(s) ligne(s) correspond la requête...

Si tu me disais « ici commence les logs déclenchés par la requête », je comprendrais peut-être mieux ce qu'il se passe...

Dernière modification par tiramiseb (Le 18/02/2015, à 16:32)

Hors ligne