do not use --pid-file in init script. fpm can multi unix socket init script was always timeout. back to php-5.3.3 init script. Reproducible: Always
Hi, Could you elaborate exactly what the problem is and how to reproduce it? Thanks!
umm... maybe, multi socket was no matter. processes are started but init script cannot catch. # /etc/init.d/php-fpm start * Starting PHP FastCGI Process Manager ... [ !! ] * ERROR: php-fpm failed to start # ps aux | grep fpm musinsa 32568 0.0 0.0 333316 7324 ? S 04:04 0:00 php-fpm: pool musinsadb musinsa 32569 0.0 0.0 333316 7324 ? S 04:04 0:00 php-fpm: pool musinsadb musinsa 32570 0.0 0.0 333316 7324 ? S 04:04 0:00 php-fpm: pool musinsadb musinsa 32571 0.0 0.0 333316 7324 ? S 04:04 0:00 php-fpm: pool musinsadb musinsa 32572 0.0 0.0 333316 7324 ? S 04:04 0:00 php-fpm: pool musinsadb musinsa 32573 0.0 0.0 333316 7328 ? S 04:04 0:00 php-fpm: pool musinsadb musinsa 32574 0.0 0.0 333316 7328 ? S 04:04 0:00 php-fpm: pool musinsadb musinsa 32575 0.0 0.0 333316 7328 ? S 04:04 0:00 php-fpm: pool musinsadb musinsa 32576 0.0 0.0 333316 7328 ? S 04:04 0:00 php-fpm: pool musinsadb musinsa 32577 0.0 0.0 333316 7328 ? S 04:04 0:00 php-fpm: pool musinsadb musinsa 32578 0.0 0.0 333316 7328 ? S 04:04 0:00 php-fpm: pool musinsadb musinsa 32579 0.0 0.0 333316 7328 ? S 04:04 0:00 php-fpm: pool musinsadb musinsa 32580 0.0 0.0 333316 7328 ? S 04:04 0:00 php-fpm: pool musinsadb musinsa 32581 0.0 0.0 333316 7328 ? S 04:04 0:00 php-fpm: pool musinsadb musinsa 32582 0.0 0.0 333316 7328 ? S 04:04 0:00 php-fpm: pool musinsadb musinsa 32583 0.0 0.0 333316 7328 ? S 04:04 0:00 php-fpm: pool musinsadb musinsa 32584 0.0 0.0 333316 7328 ? S 04:04 0:00 php-fpm: pool musinsadb musinsa 32585 0.0 0.0 333316 7328 ? S 04:04 0:00 php-fpm: pool musinsadb musinsa 32586 0.0 0.0 333316 7328 ? S 04:04 0:00 php-fpm: pool musinsadb musinsa 32587 0.0 0.0 333316 7328 ? S 04:04 0:00 php-fpm: pool musinsadb
Created attachment 264891 [details] emerge --info
The problem is most likely that you have set an incorrect pid path in your fpm config. Can you take a look at /etc/php/fpm-php5.3/php-fpm.conf and make sure it contains the following: [global] ; Pid file ; Note: the default prefix is /var/lib ; Default Value: none ; Note: The Gentoo init script expects the pid path ; to be set to /var/run/php-fpm.pid pid = /var/run/php-fpm.pid It is not an optimal solution, but it is the best one I could come up with.
thank you. It's work.:)