Hi,
I have the strange problem that I can't start more than two php-fpm pools. I want to host multiple websites on my server and thought it would be a good idea to give every website/user it's own php-fpm pool (nginx, php-fpm).
My /usr/local/etc/php-fpm.conf simply includes alle *.pool files and every pool got its own listen port (9000,9001,9002,...).
Starting php-fpm works perfectly, pool-files get included and php-fpm.log (debug) also shows:
But
Now I tried to deactivate one pool-file after another. Whatever pool files are active: if more than two are present only the ones with 9002 and 9001 are active. If only two pool-definitions are present whatever port is defined gets startetd correctly.
I really don't have any explanation or idea where to start debugging this, grateful for any advise
Edit:
php-fpm and nginx are running inside a jail. I am relatively new to FreeBSD and the concept of jails, so I don't know if there could be a hidden error source somwhere.
I have the strange problem that I can't start more than two php-fpm pools. I want to host multiple websites on my server and thought it would be a good idea to give every website/user it's own php-fpm pool (nginx, php-fpm).
My /usr/local/etc/php-fpm.conf simply includes alle *.pool files and every pool got its own listen port (9000,9001,9002,...).
Starting php-fpm works perfectly, pool-files get included and php-fpm.log (debug) also shows:
Code:
[13-Dec-2014 09:18:09.641808] DEBUG: pid 23693, fpm_children_make(), line 421: [pool talontr] child 23694 started
[13-Dec-2014 09:18:09.642977] DEBUG: pid 23693, fpm_children_make(), line 421: [pool talontr] child 23695 started
[13-Dec-2014 09:18:09.644128] DEBUG: pid 23693, fpm_children_make(), line 421: [pool trollreport] child 23696 started
[13-Dec-2014 09:18:09.648186] DEBUG: pid 23693, fpm_children_make(), line 421: [pool trollreport] child 23697 started
[13-Dec-2014 09:18:09.649804] DEBUG: pid 23693, fpm_children_make(), line 421: [pool zzz] child 23698 started
[13-Dec-2014 09:18:09.650866] DEBUG: pid 23693, fpm_children_make(), line 421: [pool zzz] child 23699 started
[13-Dec-2014 09:18:09.652521] DEBUG: pid 23693, fpm_children_make(), line 421: [pool huehnerhose] child 23700 started
[13-Dec-2014 09:18:09.654318] DEBUG: pid 23693, fpm_children_make(), line 421: [pool huehnerhose] child 23701 started
But
netstat -a
shows only two ports, the pools aren't reachable
Code:
tcp4 0 0 10.0.0.10.9002 *.* LISTEN
tcp4 0 0 10.0.0.10.9001 *.* LISTEN
I really don't have any explanation or idea where to start debugging this, grateful for any advise
Edit:
php-fpm and nginx are running inside a jail. I am relatively new to FreeBSD and the concept of jails, so I don't know if there could be a hidden error source somwhere.