помогите разобраться с загрузкой nginx + php_fmp

vit slipchenko vvs at vs.kiev.ua
Wed Nov 12 15:08:34 MSK 2008


[root at mx1]/usr/local/etc: ps ax -o pid,ppid,user,%cpu,vsz,wchan,command
| egrep '(php|PID)'
  PID  PPID USER    %CPU   VSZ WCHAN  COMMAND
39372     1 root     0.0 33980 kqread /usr/local/bin/php-cgi --fpm
--fpm-config /usr/local/etc/php-fpm.conf
39373 39372 www      2.8 38072 sbwait /usr/local/bin/php-cgi --fpm
--fpm-config /usr/local/etc/php-fpm.conf
39374 39372 www      2.8 38072 sbwait /usr/local/bin/php-cgi --fpm
--fpm-config /usr/local/etc/php-fpm.conf
39375 39372 www      2.3 42168 sbwait /usr/local/bin/php-cgi --fpm
--fpm-config /usr/local/etc/php-fpm.conf
39376 39372 www      3.6 42168 -      /usr/local/bin/php-cgi --fpm
--fpm-config /usr/local/etc/php-fpm.conf
39377 39372 www      3.2 40120 sbwait /usr/local/bin/php-cgi --fpm
--fpm-config /usr/local/etc/php-fpm.conf
39378 39372 www      3.8 40120 -      /usr/local/bin/php-cgi --fpm
--fpm-config /usr/local/etc/php-fpm.conf
39379 39372 www      2.5 38072 sbwait /usr/local/bin/php-cgi --fpm
--fpm-config /usr/local/etc/php-fpm.conf
39380 39372 www      4.0 38072 sbwait /usr/local/bin/php-cgi --fpm
--fpm-config /usr/local/etc/php-fpm.conf
39381 39372 www      3.4 40120 sbwait /usr/local/bin/php-cgi --fpm
--fpm-config /usr/local/etc/php-fpm.conf
39382 39372 www      2.6 40120 sbwait /usr/local/bin/php-cgi --fpm
--fpm-config /usr/local/etc/php-fpm.conf
39383 39372 www      2.6 39096 sbwait /usr/local/bin/php-cgi --fpm
--fpm-config /usr/local/etc/php-fpm.conf
39384 39372 www      4.1 39096 accept /usr/local/bin/php-cgi --fpm
--fpm-config /usr/local/etc/php-fpm.conf
39385 39372 www      2.3 39096 sbwait /usr/local/bin/php-cgi --fpm
--fpm-config /usr/local/etc/php-fpm.conf
39386 39372 www      2.0 42168 -      /usr/local/bin/php-cgi --fpm
--fpm-config /usr/local/etc/php-fpm.conf
39387 39372 www      2.5 39096 sbwait /usr/local/bin/php-cgi --fpm
--fpm-config /usr/local/etc/php-fpm.conf
[root at mx1]/usr/local/etc: gdb /usr/local/bin/php-cgi 39372
GNU gdb 6.1.1 [FreeBSD]
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you
are
welcome to change it and/or distribute copies of it under certain
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for
details.
This GDB was configured as "i386-marcel-freebsd"...(no debugging symbols
found)...
Attaching to program: /usr/local/bin/php-cgi, process 39372
Reading symbols from /lib/libcrypt.so.4...(no debugging symbols
found)...done.
Loaded symbols for /lib/libcrypt.so.4
Reading symbols from /lib/libm.so.5...(no debugging symbols
found)...done.
Loaded symbols for /lib/libm.so.5
Reading symbols from /lib/libz.so.4...(no debugging symbols
found)...done.
Loaded symbols for /lib/libz.so.4
Reading symbols from /usr/lib/librt.so.1...(no debugging symbols
found)...done.
Loaded symbols for /usr/lib/librt.so.1
Reading symbols from /usr/local/lib/libxml2.so.5...(no debugging symbols
found)...done.
Loaded symbols for /usr/local/lib/libxml2.so.5
Reading symbols from /usr/local/lib/libiconv.so.3...(no debugging
symbols found)...done.
Loaded symbols for /usr/local/lib/libiconv.so.3
Reading symbols from /lib/libc.so.7...(no debugging symbols
found)...done.
Loaded symbols for /lib/libc.so.7
Reading symbols from /usr/local/ioncube/ioncube_loader_fre_5.2.so...(no
debugging symbols found)...done.
Loaded symbols for /usr/local/ioncube/ioncube_loader_fre_5.2.so
Reading symbols from /usr/local/lib/php/20060613/eaccelerator.so...(no
debugging symbols found)...done.
Loaded symbols for /usr/local/lib/php/20060613/eaccelerator.so
Reading symbols from /usr/local/lib/php/20060613/filter.so...(no
debugging symbols found)...done.
Loaded symbols for /usr/local/lib/php/20060613/filter.so
Reading symbols from /usr/local/lib/libpcre.so.0...(no debugging symbols
found)...done.
Loaded symbols for /usr/local/lib/libpcre.so.0
Reading symbols from /usr/local/lib/php/20060613/hash.so...(no debugging
symbols found)...done.
Loaded symbols for /usr/local/lib/php/20060613/hash.so
Reading symbols from /usr/local/lib/php/20060613/ctype.so...(no
debugging symbols found)...done.
Loaded symbols for /usr/local/lib/php/20060613/ctype.so
Reading symbols from /usr/local/lib/php/20060613/curl.so...(no debugging
symbols found)...done.
Loaded symbols for /usr/local/lib/php/20060613/curl.so
Reading symbols from /usr/local/lib/libcurl.so.4...(no debugging symbols
found)...done.
Loaded symbols for /usr/local/lib/libcurl.so.4
Reading symbols from /usr/local/lib/libssl.so.5...(no debugging symbols
found)...done.
Loaded symbols for /usr/local/lib/libssl.so.5
Reading symbols from /usr/local/lib/libcrypto.so.5...(no debugging
symbols found)...done.
Loaded symbols for /usr/local/lib/libcrypto.so.5
Reading symbols from /lib/libthr.so.3...(no debugging symbols
found)...done.
Error while reading shared library symbols:
Cannot get thread info: invalid key
Reading symbols from /usr/local/lib/php/20060613/dba.so...(no debugging
symbols found)...done.
Loaded symbols for /usr/local/lib/php/20060613/dba.so
Reading symbols from /usr/local/lib/php/20060613/pcre.so...(no debugging
symbols found)...done.
Loaded symbols for /usr/local/lib/php/20060613/pcre.so
Reading symbols from /usr/local/lib/php/20060613/simplexml.so...(no
debugging symbols found)...done.
Loaded symbols for /usr/local/lib/php/20060613/simplexml.so
Reading symbols from /usr/local/lib/php/20060613/spl.so...(no debugging
symbols found)...done.
Loaded symbols for /usr/local/lib/php/20060613/spl.so
Reading symbols from /usr/local/lib/php/20060613/dom.so...(no debugging
symbols found)...done.
Loaded symbols for /usr/local/lib/php/20060613/dom.so
Reading symbols from /usr/local/lib/php/20060613/ftp.so...(no debugging
symbols found)...done.
Loaded symbols for /usr/local/lib/php/20060613/ftp.so
Reading symbols from /usr/local/lib/php/20060613/gd.so...(no debugging
symbols found)...done.
Loaded symbols for /usr/local/lib/php/20060613/gd.so
Reading symbols from /usr/local/lib/libt1.so.5...(no debugging symbols
found)...done.
Loaded symbols for /usr/local/lib/libt1.so.5
Reading symbols from /usr/local/lib/libfreetype.so.9...(no debugging
symbols found)...done.
Loaded symbols for /usr/local/lib/libfreetype.so.9
Reading symbols from /usr/local/lib/libX11.so.6...(no debugging symbols
found)...done.
Loaded symbols for /usr/local/lib/libX11.so.6
Reading symbols from /usr/local/lib/libXpm.so.4...(no debugging symbols
found)...done.
Loaded symbols for /usr/local/lib/libXpm.so.4
Reading symbols from /usr/local/lib/libpng.so.5...(no debugging symbols
found)...done.
Loaded symbols for /usr/local/lib/libpng.so.5
Reading symbols from /usr/local/lib/libjpeg.so.9...(no debugging symbols
found)...done.
Loaded symbols for /usr/local/lib/libjpeg.so.9
Reading symbols from /usr/local/lib/libXau.so.6...(no debugging symbols
found)...done.
Loaded symbols for /usr/local/lib/libXau.so.6
Reading symbols from /usr/local/lib/libXdmcp.so.6...(no debugging
symbols found)...done.
Loaded symbols for /usr/local/lib/libXdmcp.so.6
Reading symbols from /usr/lib/librpcsvc.so.4...(no debugging symbols
found)...done.
Loaded symbols for /usr/lib/librpcsvc.so.4
Reading symbols from /usr/local/lib/php/20060613/gettext.so...(no
debugging symbols found)...done.
Loaded symbols for /usr/local/lib/php/20060613/gettext.so
Reading symbols from /usr/local/lib/libintl.so.8...(no debugging symbols
found)...done.
Loaded symbols for /usr/local/lib/libintl.so.8
Reading symbols from /usr/local/lib/php/20060613/iconv.so...(no
debugging symbols found)...done.
Loaded symbols for /usr/local/lib/php/20060613/iconv.so
Reading symbols from /usr/local/lib/php/20060613/mcrypt.so...(no
debugging symbols found)...done.
Loaded symbols for /usr/local/lib/php/20060613/mcrypt.so
Reading symbols from /usr/local/lib/libmcrypt.so.8...(no debugging
symbols found)...done.
Loaded symbols for /usr/local/lib/libmcrypt.so.8
Reading symbols from /usr/local/lib/libltdl.so.4...(no debugging symbols
found)...done.
Loaded symbols for /usr/local/lib/libltdl.so.4
Reading symbols from /usr/local/lib/php/20060613/mhash.so...(no
debugging symbols found)...done.
Loaded symbols for /usr/local/lib/php/20060613/mhash.so
Reading symbols from /usr/local/lib/libmhash.so.2...(no debugging
symbols found)...done.
Loaded symbols for /usr/local/lib/libmhash.so.2
Reading symbols from /usr/local/lib/php/20060613/mysql.so...(no
debugging symbols found)...done.
Loaded symbols for /usr/local/lib/php/20060613/mysql.so
Reading symbols from /usr/local/lib/mysql/libmysqlclient.so.15...(no
debugging symbols found)...done.
Loaded symbols for /usr/local/lib/mysql/libmysqlclient.so.15
Reading symbols from /usr/local/lib/php/20060613/mysqli.so...(no
debugging symbols found)...done.
Loaded symbols for /usr/local/lib/php/20060613/mysqli.so
Reading symbols from /usr/local/lib/php/20060613/pdo.so...(no debugging
symbols found)...done.
Loaded symbols for /usr/local/lib/php/20060613/pdo.so
Reading symbols from /usr/local/lib/php/20060613/posix.so...(no
debugging symbols found)...done.
Loaded symbols for /usr/local/lib/php/20060613/posix.so
Reading symbols from /usr/local/lib/php/20060613/session.so...(no
debugging symbols found)...done.
Loaded symbols for /usr/local/lib/php/20060613/session.so
Reading symbols from /usr/local/lib/php/20060613/snmp.so...(no debugging
symbols found)...done.
Loaded symbols for /usr/local/lib/php/20060613/snmp.so
Reading symbols from /usr/local/lib/libnetsnmp.so.16...(no debugging
symbols found)...done.
Loaded symbols for /usr/local/lib/libnetsnmp.so.16
Reading symbols from /usr/lib/libelf.so.1...(no debugging symbols
found)...done.
Loaded symbols for /usr/lib/libelf.so.1
Reading symbols from /lib/libkvm.so.4...(no debugging symbols
found)...done.
Loaded symbols for /lib/libkvm.so.4
Reading symbols from /lib/libdevstat.so.6...(no debugging symbols
found)...done.
Loaded symbols for /lib/libdevstat.so.6
Reading symbols from /usr/local/lib/php/20060613/sockets.so...(no
debugging symbols found)...done.
Loaded symbols for /usr/local/lib/php/20060613/sockets.so
Reading symbols from /usr/local/lib/php/20060613/tokenizer.so...(no
debugging symbols found)...done.
Loaded symbols for /usr/local/lib/php/20060613/tokenizer.so
Reading symbols from /usr/local/lib/php/20060613/xml.so...(no debugging
symbols found)...done.
Loaded symbols for /usr/local/lib/php/20060613/xml.so
Reading symbols from /usr/local/lib/php/20060613/xmlreader.so...(no
debugging symbols found)...done.
Loaded symbols for /usr/local/lib/php/20060613/xmlreader.so
Reading symbols from /usr/local/lib/php/20060613/xmlwriter.so...(no
debugging symbols found)...done.
Loaded symbols for /usr/local/lib/php/20060613/xmlwriter.so
Reading symbols from /usr/local/lib/php/20060613/zip.so...(no debugging
symbols found)...done.
Loaded symbols for /usr/local/lib/php/20060613/zip.so
Reading symbols from /usr/local/lib/php/20060613/zlib.so...(no debugging
symbols found)...done.
Loaded symbols for /usr/local/lib/php/20060613/zlib.so
Reading symbols from /usr/local/lib/php/20060613/memcache.so...(no
debugging symbols found)...done.
Loaded symbols for /usr/local/lib/php/20060613/memcache.so
Reading symbols from /usr/local/lib/php/20060613/sqlite.so...(no
debugging symbols found)...done.
Loaded symbols for /usr/local/lib/php/20060613/sqlite.so
Reading symbols from /libexec/ld-elf.so.1...(no debugging symbols
found)...done.
Loaded symbols for /libexec/ld-elf.so.1
0x285870db in kevent () from /lib/libc.so.7
(gdb) where
#0  0x285870db in kevent () from /lib/libc.so.7
#1  0x081cfae1 in kq_dispatch ()
#2  0x081ce703 in _fpm_event_base_loop ()
#3  0x081ceaaa in _fpm_event_loop ()
#4  0x081cadd3 in fpm_event_loop ()
#5  0x081c74af in fpm_run ()
#6  0x081c61a3 in main ()
(gdb) 



В Срд, 12/11/2008 в 14:16 +0300, Andrei Nigmatulin пишет:

> Это был единственный процесс, не висящий в sbwait. Попробуйте еще раз.

> Вот здесь нужно будет набрать "where", нажать enter и скопировать вывод.
> 
> 

-- 
Regards,
Vit

-=> http://www.sat-expert.com 
-=> ICQ 777874
-=> Skype: lazy-seal
-=> My PGP pub keys http://www.sat-expert.com/vvs-pub.asc








More information about the nginx-ru mailing list