Merci. Pana la urma mi-am bagat picioarele si m-am mutat pe container-ul
care vine cu apache.
Am zis ca fpm + nginx e mai sepsi, da' deja devenise pr0n, ca aveam nevoie
de el.
Reusisem sa-l strace, da' atat masterul cat si childrenii mureau cu
"Killed" si atat.

On Sun, Jun 3, 2018 at 4:51 PM Catalin(ux) M. BOIE <[email protected]>
wrote:

> Salut!
>
> Ruleaza:
> strace -o x.strace -s2000 -tt -f `ps ax|grep fpm|awk '{ print " -p" $1 }'`
>
> Si apoi analizeaza x.strace. Foarte posibil sa gasesti acolo motivul.
> Succes!
>
> > Salut,
> >
> > De cateva zile ma bat cu urmatoare chestie, si nu mai stiu pe unde sa
> sap:
> > Pe un nas qnap, am cu docker-compose un nextcloud ( fisierul e aici:
> > https://github.com/nextcloud/docker/issues/114#issuecomment-326831360 ).
> > Acum cam o saptamana am mutat nas-ul in alta retea, cu aceleasi
> > subnet-uri,
> > si de atunci container-ul care tine nextcloud-ul propriu-zis (cu php-fpm)
> > porneste, merge cateva secunde, poate chiar un minut, si apoi moare
> subit.
> > Si nu reusesc sa inteleg cine omoara master-ul.
> > Am setat tot ce am gasit de loging pe debug, si pentru master si pentru
> > pool, dar tot ce scrie in log e asta:
> >
> > [30-May-2018 18:42:17.005789] DEBUG: pid 1, fpm_scoreboard_init_main(),
> > line 40: got clock tick '100'
> > [30-May-2018 18:42:17.005995] DEBUG: pid 1,
> > fpm_socket_af_inet_listening_socket(), line 321: Found address for ::,
> > socket opened on ::
> > [30-May-2018 18:42:17.006031] DEBUG: pid 1, fpm_event_init_main(), line
> > 337: event module is epoll and 11 fds have been reserved
> > [30-May-2018 18:42:17.006057] NOTICE: pid 1, fpm_init(), line 85: fpm is
> > running, pid 1
> > [30-May-2018 18:42:17.006899] DEBUG: pid 1, fpm_children_make(), line
> 421:
> > [pool www] child 25 started
> > [30-May-2018 18:42:17.007815] DEBUG: pid 1, fpm_children_make(), line
> 421:
> > [pool www] child 26 started
> > [30-May-2018 18:42:17.007891] DEBUG: pid 1, fpm_event_loop(), line 366:
> > 6000 bytes have been reserved in SHM
> > [30-May-2018 18:42:17.007908] NOTICE: pid 1, fpm_event_loop(), line 367:
> > ready to handle connections
> > [30-May-2018 18:42:18.008960] DEBUG: pid 1,
> > fpm_pctl_perform_idle_server_maintenance(), line 379: [pool www]
> currently
> > 0 active children, 2 spare children, 2 running children. Spawning rate 1
> > [30-May-2018 18:42:19.010040] DEBUG: pid 1,
> > fpm_pctl_perform_idle_server_maintenance(), line 379: [pool www]
> currently
> > 0 active children, 2 spare children, 2 running children. Spawning rate 1
> > [30-May-2018 18:42:20.011121] DEBUG: pid 1,
> > fpm_pctl_perform_idle_server_maintenance(), line 379: [pool www]
> currently
> > 0 active children, 2 spare children, 2 running children. Spawning rate 1
> > [30-May-2018 18:42:21.011453] DEBUG: pid 1,
> > fpm_pctl_perform_idle_server_maintenance(), line 379: [pool www]
> currently
> > 0 active children, 2 spare children, 2 running children. Spawning rate 1
> > [30-May-2018 18:42:22.012523] DEBUG: pid 1,
> > fpm_pctl_perform_idle_server_maintenance(), line 379: [pool www]
> currently
> > 0 active children, 2 spare children, 2 running children. Spawning rate 1
> > [30-May-2018 18:42:23.013603] DEBUG: pid 1,
> > fpm_pctl_perform_idle_server_maintenance(), line 379: [pool www]
> currently
> > 0 active children, 2 spare children, 2 running children. Spawning rate 1
> > [30-May-2018 18:42:24.014683] DEBUG: pid 1,
> > fpm_pctl_perform_idle_server_maintenance(), line 379: [pool www]
> currently
> > 0 active children, 2 spare children, 2 running children. Spawning rate 1
> > [30-May-2018 18:42:25.015768] DEBUG: pid 1,
> > fpm_pctl_perform_idle_server_maintenance(), line 379: [pool www]
> currently
> > 0 active children, 2 spare children, 2 running children. Spawning rate 1
> > [30-May-2018 18:42:26.016854] DEBUG: pid 1,
> > fpm_pctl_perform_idle_server_maintenance(), line 379: [pool www]
> currently
> > 0 active children, 2 spare children, 2 running children. Spawning rate 1
> >
> > Setarile relevante pentru log sunt:
> > [global]
> > log_level = debug
> > error_log = log/php-fpm.log
> > [www]
> > catch_workers_output = yes
> > php_flag[display_errors] = on
> > php_admin_value[error_log] = log/php-fpm.log
> > php_admin_flag[log_errors] = on
> >
> > Toate celelalte containere merg bine-mersi.
> > Aveti vreo idee pe unde as mai putea sa sap? Macar sa aflu de ce moare
> > master-ul...
> >
> > Merci.
> > --
> > Beware of programmers who carry screwdrivers.
> > _______________________________________________
> > RLUG mailing list
> > [email protected]
> > http://lists.lug.ro/mailman/listinfo/rlug_lists.lug.ro
> >
>
>
> --
> Catalin(ux) M. BOIE
> http://kernel.embedromix.ro/
> https://rocketgit.com/
>
-- 
Beware of programmers who carry screwdrivers.
_______________________________________________
RLUG mailing list
[email protected]
http://lists.lug.ro/mailman/listinfo/rlug_lists.lug.ro

Raspunde prin e-mail lui