Такая проблема, переустановил сегодня php5 на своем сервере.
> sudo apt-get purge php5
И установил заново все что нужно для работы php-fpm:
> aptitude install php5-common php5-mysql php5-suhosin php5-gd php5-fpm php5-cgi php-pear php5-mcrypt -y
После этого nginx перестал видеть cgi по адресу 127.0.0.1:9000
При поиске netstat'ом по пиду php-fpm ничего не находит. В логах у php-fpm написано что все мол хорошо. Что мне делать, у меня опускаются руки!
Могу приаттачить все что захотите!
(Добавление)
Информация по процессу:
Спойлер (Отобразить)
unmanner@luna-server:/var/log$ ps -efal | grep 20237
1 S root 20237 1 0 80 0 - 46722 epoll_ 09:03 ? 00:00:00 php-fpm: master process (/etc/php5/fpm/php-fpm.conf)
5 S www-data 20238 20237 0 80 0 - 46722 skb_re 09:03 ? 00:00:00 php-fpm: pool www
5 S www-data 20239 20237 0 80 0 - 46722 skb_re 09:03 ? 00:00:00 php-fpm: pool www
1 S root 20237 1 0 80 0 - 46722 epoll_ 09:03 ? 00:00:00 php-fpm: master process (/etc/php5/fpm/php-fpm.conf)
5 S www-data 20238 20237 0 80 0 - 46722 skb_re 09:03 ? 00:00:00 php-fpm: pool www
5 S www-data 20239 20237 0 80 0 - 46722 skb_re 09:03 ? 00:00:00 php-fpm: pool www
Просто не открыл сокет!
Спойлер (Отобразить)
unmanner@luna-server:/var/log$ sudo lsof -a -p 20237
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
php5-fpm 20237 root cwd DIR 0,32 4096 369625495 /
php5-fpm 20237 root rtd DIR 0,32 4096 369625495 /
php5-fpm 20237 root txt REG 0,32 8040672 377882362 /usr/sbin/php5-fpm
php5-fpm 20237 root mem REG 0,32 47680 374345749 /lib/x86_64-linux-gnu/libnss_nis -2.15.so
php5-fpm 20237 root mem REG 0,32 97248 374346506 /lib/x86_64-linux-gnu/libnsl-2.1 5.so
php5-fpm 20237 root mem REG 0,32 35680 374345754 /lib/x86_64-linux-gnu/libnss_com pat-2.15.so
php5-fpm 20237 root mem REG 0,32 52120 374345753 /lib/x86_64-linux-gnu/libnss_fil es-2.15.so
php5-fpm 20237 root mem REG 0,32 88384 374342037 /lib/x86_64-linux-gnu/libgcc_s.s o.1
php5-fpm 20237 root mem REG 0,32 31056 381813362 /usr/lib/php5/20100525/pdo_mysql .so
php5-fpm 20237 root mem REG 0,32 141456 381813363 /usr/lib/php5/20100525/mysqli.so
php5-fpm 20237 root mem REG 0,32 3408136 374345953 /usr/lib/x86_64-linux-gnu/libmys qlclient.so.18.0.0
php5-fpm 20237 root mem REG 0,32 51264 381813361 /usr/lib/php5/20100525/mysql.so
php5-fpm 20237 root mem REG 0,32 187752 374354821 /usr/lib/libmcrypt.so.4.4.8
php5-fpm 20237 root mem REG 0,32 43120 381813360 /usr/lib/php5/20100525/mcrypt.so
php5-fpm 20237 root mem REG 0,32 22504 374345898 /usr/lib/x86_64-linux-gnu/libXdm cp.so.6.0.0
php5-fpm 20237 root mem REG 0,32 10328 374345896 /usr/lib/x86_64-linux-gnu/libXau .so.6.0.0
php5-fpm 20237 root mem REG 0,32 121232 374345900 /usr/lib/x86_64-linux-gnu/libxcb .so.1.1.0
php5-fpm 20237 root mem REG 0,32 170024 374345949 /lib/x86_64-linux-gnu/libexpat.s o.1.5.2
php5-fpm 20237 root mem REG 0,32 1260960 374345904 /usr/lib/x86_64-linux-gnu/libX11 .so.6.3.0
php5-fpm 20237 root mem REG 0,32 162776 374341988 /lib/x86_64-linux-gnu/libpng12.s o.0.46.0
php5-fpm 20237 root mem REG 0,32 637160 374341878 /usr/lib/x86_64-linux-gnu/libfre etype.so.6.8.0
php5-fpm 20237 root mem REG 0,32 220896 374345780 /usr/lib/x86_64-linux-gnu/libfon tconfig.so.1.4.4
php5-fpm 20237 root mem REG 0,32 260872 374346105 /usr/lib/x86_64-linux-gnu/libjpe g.so.8.0.2
php5-fpm 20237 root mem REG 0,32 68288 374350037 /usr/lib/x86_64-linux-gnu/libXpm .so.4.11.0
php5-fpm 20237 root mem REG 0,32 270400 374354790 /usr/lib/x86_64-linux-gnu/libgd. so.2.0.0
php5-fpm 20237 root mem REG 0,32 100408 381813359 /usr/lib/php5/20100525/gd.so
php5-fpm 20237 root mem REG 0,32 100712 381813358 /usr/lib/php5/20100525/pdo.so
php5-fpm 20237 root mem REG 0,32 135366 374343606 /lib/x86_64-linux-gnu/libpthread -2.15.so
php5-fpm 20237 root mem REG 0,32 1811128 374343244 /lib/x86_64-linux-gnu/libc-2.15. so
php5-fpm 20237 root mem REG 0,32 1417368 374345908 /usr/lib/x86_64-linux-gnu/libxml 2.so.2.7.8
php5-fpm 20237 root mem REG 0,32 14768 374343152 /lib/x86_64-linux-gnu/libdl-2.15 .so
php5-fpm 20237 root mem REG 0,32 1030512 374345751 /lib/x86_64-linux-gnu/libm-2.15. so
php5-fpm 20237 root mem REG 0,32 31752 374345746 /lib/x86_64-linux-gnu/librt-2.15 .so
php5-fpm 20237 root mem REG 0,32 247896 374341841 /lib/x86_64-linux-gnu/libpcre.so .3.12.1
php5-fpm 20237 root mem REG 0,32 66784 374341842 /lib/x86_64-linux-gnu/libbz2.so. 1.0.4
php5-fpm 20237 root mem REG 0,32 305648 374347660 /usr/lib/libqdbm.so.14.14.0
php5-fpm 20237 root mem REG 0,32 1518928 374346226 /usr/lib/x86_64-linux-gnu/libdb- 5.1.so
php5-fpm 20237 root mem REG 0,32 374608 374345240 /lib/x86_64-linux-gnu/libssl.so. 1.0.0
php5-fpm 20237 root mem REG 0,32 1852792 374345241 /lib/x86_64-linux-gnu/libcrypto. so.1.0.0
php5-fpm 20237 root mem REG 0,32 422856 374345051 /usr/lib/libonig.so.2.0.0
php5-fpm 20237 root mem REG 0,32 105288 374345747 /lib/x86_64-linux-gnu/libresolv- 2.15.so
php5-fpm 20237 root mem REG 0,32 92720 374342040 /lib/x86_64-linux-gnu/libz.so.1. 2.3.4
php5-fpm 20237 root mem REG 0,32 43288 374345752 /lib/x86_64-linux-gnu/libcrypt-2 .15.so
php5-fpm 20237 root mem REG 0,32 149280 374345757 /lib/x86_64-linux-gnu/ld-2.15.so
php5-fpm 20237 root mem REG 0,49 393317974 (deleted)/dev/zero (stat: No such file or directory)
php5-fpm 20237 root mem REG 0,49 393317973 (deleted)/dev/zero (stat: No such file or directory)
php5-fpm 20237 root mem REG 0,49 393317972 (deleted)/dev/zero (stat: No such file or directory)
php5-fpm 20237 root mem REG 0,49 393317971 (deleted)/dev/zero (stat: No such file or directory)
php5-fpm 20237 root mem REG 0,49 393317970 (deleted)/dev/zero (stat: No such file or directory)
php5-fpm 20237 root mem REG 0,49 393317969 (deleted)/dev/zero (stat: No such file or directory)
php5-fpm 20237 root 0u CHR 1,3 0t0 105634024 /dev/null
php5-fpm 20237 root 1u CHR 1,3 0t0 105634024 /dev/null
php5-fpm 20237 root 2w REG 0,32 219131 377881462 /var/log/php5-fpm.log
php5-fpm 20237 root 3r REG 0,48 0 393317961 /proc/20235/auxv
php5-fpm 20237 root 4w REG 0,32 219131 377881462 /var/log/php5-fpm.log
php5-fpm 20237 root 5u unix 0xffff882c129cc840 0t0 393317975 socket
php5-fpm 20237 root 7u unix 0xffff882d8a492bc0 0t0 393317976 socket
php5-fpm 20237 root 8u unix 0xffff883058fa0480 0t0 393317977 /var/run/php5-fpm.sock
php5-fpm 20237 root 9u unix 0xffff883058fa1b40 0t0 393317978 socket
php5-fpm 20237 root 10u REG 0,9 0 3978 anon_inode
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
php5-fpm 20237 root cwd DIR 0,32 4096 369625495 /
php5-fpm 20237 root rtd DIR 0,32 4096 369625495 /
php5-fpm 20237 root txt REG 0,32 8040672 377882362 /usr/sbin/php5-fpm
php5-fpm 20237 root mem REG 0,32 47680 374345749 /lib/x86_64-linux-gnu/libnss_nis -2.15.so
php5-fpm 20237 root mem REG 0,32 97248 374346506 /lib/x86_64-linux-gnu/libnsl-2.1 5.so
php5-fpm 20237 root mem REG 0,32 35680 374345754 /lib/x86_64-linux-gnu/libnss_com pat-2.15.so
php5-fpm 20237 root mem REG 0,32 52120 374345753 /lib/x86_64-linux-gnu/libnss_fil es-2.15.so
php5-fpm 20237 root mem REG 0,32 88384 374342037 /lib/x86_64-linux-gnu/libgcc_s.s o.1
php5-fpm 20237 root mem REG 0,32 31056 381813362 /usr/lib/php5/20100525/pdo_mysql .so
php5-fpm 20237 root mem REG 0,32 141456 381813363 /usr/lib/php5/20100525/mysqli.so
php5-fpm 20237 root mem REG 0,32 3408136 374345953 /usr/lib/x86_64-linux-gnu/libmys qlclient.so.18.0.0
php5-fpm 20237 root mem REG 0,32 51264 381813361 /usr/lib/php5/20100525/mysql.so
php5-fpm 20237 root mem REG 0,32 187752 374354821 /usr/lib/libmcrypt.so.4.4.8
php5-fpm 20237 root mem REG 0,32 43120 381813360 /usr/lib/php5/20100525/mcrypt.so
php5-fpm 20237 root mem REG 0,32 22504 374345898 /usr/lib/x86_64-linux-gnu/libXdm cp.so.6.0.0
php5-fpm 20237 root mem REG 0,32 10328 374345896 /usr/lib/x86_64-linux-gnu/libXau .so.6.0.0
php5-fpm 20237 root mem REG 0,32 121232 374345900 /usr/lib/x86_64-linux-gnu/libxcb .so.1.1.0
php5-fpm 20237 root mem REG 0,32 170024 374345949 /lib/x86_64-linux-gnu/libexpat.s o.1.5.2
php5-fpm 20237 root mem REG 0,32 1260960 374345904 /usr/lib/x86_64-linux-gnu/libX11 .so.6.3.0
php5-fpm 20237 root mem REG 0,32 162776 374341988 /lib/x86_64-linux-gnu/libpng12.s o.0.46.0
php5-fpm 20237 root mem REG 0,32 637160 374341878 /usr/lib/x86_64-linux-gnu/libfre etype.so.6.8.0
php5-fpm 20237 root mem REG 0,32 220896 374345780 /usr/lib/x86_64-linux-gnu/libfon tconfig.so.1.4.4
php5-fpm 20237 root mem REG 0,32 260872 374346105 /usr/lib/x86_64-linux-gnu/libjpe g.so.8.0.2
php5-fpm 20237 root mem REG 0,32 68288 374350037 /usr/lib/x86_64-linux-gnu/libXpm .so.4.11.0
php5-fpm 20237 root mem REG 0,32 270400 374354790 /usr/lib/x86_64-linux-gnu/libgd. so.2.0.0
php5-fpm 20237 root mem REG 0,32 100408 381813359 /usr/lib/php5/20100525/gd.so
php5-fpm 20237 root mem REG 0,32 100712 381813358 /usr/lib/php5/20100525/pdo.so
php5-fpm 20237 root mem REG 0,32 135366 374343606 /lib/x86_64-linux-gnu/libpthread -2.15.so
php5-fpm 20237 root mem REG 0,32 1811128 374343244 /lib/x86_64-linux-gnu/libc-2.15. so
php5-fpm 20237 root mem REG 0,32 1417368 374345908 /usr/lib/x86_64-linux-gnu/libxml 2.so.2.7.8
php5-fpm 20237 root mem REG 0,32 14768 374343152 /lib/x86_64-linux-gnu/libdl-2.15 .so
php5-fpm 20237 root mem REG 0,32 1030512 374345751 /lib/x86_64-linux-gnu/libm-2.15. so
php5-fpm 20237 root mem REG 0,32 31752 374345746 /lib/x86_64-linux-gnu/librt-2.15 .so
php5-fpm 20237 root mem REG 0,32 247896 374341841 /lib/x86_64-linux-gnu/libpcre.so .3.12.1
php5-fpm 20237 root mem REG 0,32 66784 374341842 /lib/x86_64-linux-gnu/libbz2.so. 1.0.4
php5-fpm 20237 root mem REG 0,32 305648 374347660 /usr/lib/libqdbm.so.14.14.0
php5-fpm 20237 root mem REG 0,32 1518928 374346226 /usr/lib/x86_64-linux-gnu/libdb- 5.1.so
php5-fpm 20237 root mem REG 0,32 374608 374345240 /lib/x86_64-linux-gnu/libssl.so. 1.0.0
php5-fpm 20237 root mem REG 0,32 1852792 374345241 /lib/x86_64-linux-gnu/libcrypto. so.1.0.0
php5-fpm 20237 root mem REG 0,32 422856 374345051 /usr/lib/libonig.so.2.0.0
php5-fpm 20237 root mem REG 0,32 105288 374345747 /lib/x86_64-linux-gnu/libresolv- 2.15.so
php5-fpm 20237 root mem REG 0,32 92720 374342040 /lib/x86_64-linux-gnu/libz.so.1. 2.3.4
php5-fpm 20237 root mem REG 0,32 43288 374345752 /lib/x86_64-linux-gnu/libcrypt-2 .15.so
php5-fpm 20237 root mem REG 0,32 149280 374345757 /lib/x86_64-linux-gnu/ld-2.15.so
php5-fpm 20237 root mem REG 0,49 393317974 (deleted)/dev/zero (stat: No such file or directory)
php5-fpm 20237 root mem REG 0,49 393317973 (deleted)/dev/zero (stat: No such file or directory)
php5-fpm 20237 root mem REG 0,49 393317972 (deleted)/dev/zero (stat: No such file or directory)
php5-fpm 20237 root mem REG 0,49 393317971 (deleted)/dev/zero (stat: No such file or directory)
php5-fpm 20237 root mem REG 0,49 393317970 (deleted)/dev/zero (stat: No such file or directory)
php5-fpm 20237 root mem REG 0,49 393317969 (deleted)/dev/zero (stat: No such file or directory)
php5-fpm 20237 root 0u CHR 1,3 0t0 105634024 /dev/null
php5-fpm 20237 root 1u CHR 1,3 0t0 105634024 /dev/null
php5-fpm 20237 root 2w REG 0,32 219131 377881462 /var/log/php5-fpm.log
php5-fpm 20237 root 3r REG 0,48 0 393317961 /proc/20235/auxv
php5-fpm 20237 root 4w REG 0,32 219131 377881462 /var/log/php5-fpm.log
php5-fpm 20237 root 5u unix 0xffff882c129cc840 0t0 393317975 socket
php5-fpm 20237 root 7u unix 0xffff882d8a492bc0 0t0 393317976 socket
php5-fpm 20237 root 8u unix 0xffff883058fa0480 0t0 393317977 /var/run/php5-fpm.sock
php5-fpm 20237 root 9u unix 0xffff883058fa1b40 0t0 393317978 socket
php5-fpm 20237 root 10u REG 0,9 0 3978 anon_inode
Почему тогда в логе написано(tailed):
Спойлер (Отобразить)
[06-Mar-2013 09:03:21] NOTICE: Finishing ...
[06-Mar-2013 09:03:21] NOTICE: exiting, bye-bye!
[06-Mar-2013 09:03:21] NOTICE: fpm is running, pid 20237
[06-Mar-2013 09:03:21] NOTICE: ready to handle connections
[06-Mar-2013 09:03:21] NOTICE: exiting, bye-bye!
[06-Mar-2013 09:03:21] NOTICE: fpm is running, pid 20237
[06-Mar-2013 09:03:21] NOTICE: ready to handle connections
/etc/php5/fpm/php-fpm.conf
Спойлер (Отобразить)
unmanner@luna-server:/var/log$ cat /etc/php5/fpm/php-fpm.conf
;;;;;;;;;;;;;;;;;;;;;
; FPM Configuration ;
;;;;;;;;;;;;;;;;;;;;;
; All relative paths in this configuration file are relative to PHP's install
; prefix (/usr). This prefix can be dynamicaly changed by using the
; '-p' argument from the command line.
; Include one or more files. If glob(3) exists, it is used to include a bunch of
; files from a glob(3) pattern. This directive can be used everywhere in the
; file.
; Relative path can also be used. They will be prefixed by:
; - the global prefix if it's been set (-p arguement)
; - /usr otherwise
;include=/etc/php5/fpm/*.conf
;;;;;;;;;;;;;;;;;;
; Global Options ;
;;;;;;;;;;;;;;;;;;
[global]
; Pid file
; Note: the default prefix is /var
; Default Value: none
pid = /var/run/php5-fpm.pid
; Error log file
; If it's set to "syslog", log is sent to syslogd instead of being written
; in a local file.
; Note: the default prefix is /var
; Default Value: log/php-fpm.log
error_log = /var/log/php5-fpm.log
; syslog_facility is used to specify what type of program is logging the
; message. This lets syslogd specify that messages from different facilities
; will be handled differently.
; See syslog(3) for possible values (ex daemon equiv LOG_DAEMON)
; Default Value: daemon
;syslog.facility = daemon
; syslog_ident is prepended to every message. If you have multiple FPM
; instances running on the same server, you can change the default value
; which must suit common needs.
; Default Value: php-fpm
;syslog.ident = php-fpm
; Log level
; Possible Values: alert, error, warning, notice, debug
; Default Value: notice
log_level = notice
; If this number of child processes exit with SIGSEGV or SIGBUS within the time
; interval set by emergency_restart_interval then FPM will restart. A value
; of '0' means 'Off'.
; Default Value: 0
;emergency_restart_threshold = 0
; Interval of time used by emergency_restart_interval to determine when
; a graceful restart will be initiated. This can be useful to work around
; accidental corruptions in an accelerator's shared memory.
; Available Units: s(econds), m(inutes), h(ours), or d(ays)
; Default Unit: seconds
; Default Value: 0
;emergency_restart_interval = 0
; Time limit for child processes to wait for a reaction on signals from master.
; Available units: s(econds), m(inutes), h(ours), or d(ays)
; Default Unit: seconds
; Default Value: 0
;process_control_timeout = 0
; The maximum number of processes FPM will fork. This has been design to control
; the global number of processes when using dynamic PM within a lot of pools.
; Use it with caution.
; Note: A value of 0 indicates no limit
; Default Value: 0
; process.max = 128
; Specify the nice(2) priority to apply to the master process (only if set)
; The value can vary from -19 (highest priority) to 20 (lower priority)
; Note: - It will only work if the FPM master process is launched as root
; - The pool process will inherit the master process priority
; unless it specified otherwise
; Default Value: no set
; process.priority = -19
; Send FPM to background. Set to 'no' to keep FPM in foreground for debugging.
; Default Value: yes
;daemonize = yes
; Set open file descriptor rlimit for the master process.
; Default Value: system defined value
;rlimit_files = 1024
; Set max core size rlimit for the master process.
; Possible Values: 'unlimited' or an integer greater or equal to 0
; Default Value: system defined value
;rlimit_core = 0
; Specify the event mechanism FPM will use. The following is available:
; - select (any POSIX os)
; - poll (any POSIX os)
; - epoll (linux >= 2.5.44)
; - kqueue (FreeBSD >= 4.1, OpenBSD >= 2.9, NetBSD >= 2.0)
; - /dev/poll (Solaris >= 7)
; - port (Solaris >= 10)
; Default Value: not set (auto detection)
; events.mechanism = epoll
;;;;;;;;;;;;;;;;;;;;
; Pool Definitions ;
;;;;;;;;;;;;;;;;;;;;
; Multiple pools of child processes may be started with different listening
; ports and different management options. The name of the pool will be
; used in logs and stats. There is no limitation on the number of pools which
; FPM can handle. Your system will tell you anyway
; To configure the pools it is recommended to have one .conf file per
; pool in the following directory:
include=/etc/php5/fpm/pool.d/*.conf
;;;;;;;;;;;;;;;;;;;;;
; FPM Configuration ;
;;;;;;;;;;;;;;;;;;;;;
; All relative paths in this configuration file are relative to PHP's install
; prefix (/usr). This prefix can be dynamicaly changed by using the
; '-p' argument from the command line.
; Include one or more files. If glob(3) exists, it is used to include a bunch of
; files from a glob(3) pattern. This directive can be used everywhere in the
; file.
; Relative path can also be used. They will be prefixed by:
; - the global prefix if it's been set (-p arguement)
; - /usr otherwise
;include=/etc/php5/fpm/*.conf
;;;;;;;;;;;;;;;;;;
; Global Options ;
;;;;;;;;;;;;;;;;;;
[global]
; Pid file
; Note: the default prefix is /var
; Default Value: none
pid = /var/run/php5-fpm.pid
; Error log file
; If it's set to "syslog", log is sent to syslogd instead of being written
; in a local file.
; Note: the default prefix is /var
; Default Value: log/php-fpm.log
error_log = /var/log/php5-fpm.log
; syslog_facility is used to specify what type of program is logging the
; message. This lets syslogd specify that messages from different facilities
; will be handled differently.
; See syslog(3) for possible values (ex daemon equiv LOG_DAEMON)
; Default Value: daemon
;syslog.facility = daemon
; syslog_ident is prepended to every message. If you have multiple FPM
; instances running on the same server, you can change the default value
; which must suit common needs.
; Default Value: php-fpm
;syslog.ident = php-fpm
; Log level
; Possible Values: alert, error, warning, notice, debug
; Default Value: notice
log_level = notice
; If this number of child processes exit with SIGSEGV or SIGBUS within the time
; interval set by emergency_restart_interval then FPM will restart. A value
; of '0' means 'Off'.
; Default Value: 0
;emergency_restart_threshold = 0
; Interval of time used by emergency_restart_interval to determine when
; a graceful restart will be initiated. This can be useful to work around
; accidental corruptions in an accelerator's shared memory.
; Available Units: s(econds), m(inutes), h(ours), or d(ays)
; Default Unit: seconds
; Default Value: 0
;emergency_restart_interval = 0
; Time limit for child processes to wait for a reaction on signals from master.
; Available units: s(econds), m(inutes), h(ours), or d(ays)
; Default Unit: seconds
; Default Value: 0
;process_control_timeout = 0
; The maximum number of processes FPM will fork. This has been design to control
; the global number of processes when using dynamic PM within a lot of pools.
; Use it with caution.
; Note: A value of 0 indicates no limit
; Default Value: 0
; process.max = 128
; Specify the nice(2) priority to apply to the master process (only if set)
; The value can vary from -19 (highest priority) to 20 (lower priority)
; Note: - It will only work if the FPM master process is launched as root
; - The pool process will inherit the master process priority
; unless it specified otherwise
; Default Value: no set
; process.priority = -19
; Send FPM to background. Set to 'no' to keep FPM in foreground for debugging.
; Default Value: yes
;daemonize = yes
; Set open file descriptor rlimit for the master process.
; Default Value: system defined value
;rlimit_files = 1024
; Set max core size rlimit for the master process.
; Possible Values: 'unlimited' or an integer greater or equal to 0
; Default Value: system defined value
;rlimit_core = 0
; Specify the event mechanism FPM will use. The following is available:
; - select (any POSIX os)
; - poll (any POSIX os)
; - epoll (linux >= 2.5.44)
; - kqueue (FreeBSD >= 4.1, OpenBSD >= 2.9, NetBSD >= 2.0)
; - /dev/poll (Solaris >= 7)
; - port (Solaris >= 10)
; Default Value: not set (auto detection)
; events.mechanism = epoll
;;;;;;;;;;;;;;;;;;;;
; Pool Definitions ;
;;;;;;;;;;;;;;;;;;;;
; Multiple pools of child processes may be started with different listening
; ports and different management options. The name of the pool will be
; used in logs and stats. There is no limitation on the number of pools which
; FPM can handle. Your system will tell you anyway
; To configure the pools it is recommended to have one .conf file per
; pool in the following directory:
include=/etc/php5/fpm/pool.d/*.conf
(Добавление)
Решение:
php5-fpm после обновления обновило и свои конфиги, а именно поменяла tcp сокет на юникс. Молодцы конечно, юникс сокеты горазда быстрее.
Мне осталось только в nginx конфиге заменить:
fastcgi_pass 127.0.0.1:9000;
на --->
fastcgi_pass unix:/var/run/php5-fpm.sock;
Это же сокет открыт и слушается php5-fpm как видно из предэдущего lsof'а.