Nginx-ru mailing list archive (nginx-ru@sysoev.ru)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: помогите разобраться с загрузкой nginx + php_fmp
- To: nginx-ru@xxxxxxxxx
- Subject: Re: помогите разобраться с загрузкой nginx + php_fmp
- From: Andrei Nigmatulin <andrei.nigmatulin@xxxxxxxxx>
- Date: Wed, 12 Nov 2008 14:16:36 +0300
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:to:subject:date :user-agent:references:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:message-id; bh=gdvq2mhJdvupOL1XrS6LmCMb7AGzCfusV0v+EtN8wR4=; b=fkI9uAysyk1hZB0O4SofMz4CtPDZuAfpGsE+Xz9EMA48eWLOLGV6ggAXU9HwaPzRwQ zn249B6wLDvT0U1QJpliqk7EH/flKIW7ZPXn8kcVALiJyJc3N0VLruCXIZJ8iUuDeLBQ kxBVN51Yx1VAh2qVy9QsCbTyyltrfYB+0k4jE=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:subject:date:user-agent:references:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :message-id; b=RafYI9PlEsJs0/4DkQoz1WlDOBAN5oz94gHz44vcpiOoUcLE18Oxb7tdxcHNWAHK6d 4g5xVlKRfyxCw45/VUjgj9ELWYGMdy1EZt0F9J7yDoaMYTPeckeL1x3Zsll2ViQEnWzA gnQCYGoXbvbwCRZB7eFgUjVP9ABB5mp9uJIng=
- In-reply-to: <1226487433.6179.8.camel@vslipchenko>
- References: <1226409843.6311.1.camel@vslipchenko> <200811121322.42210.andrei.nigmatulin@xxxxxxxxx> <1226487433.6179.8.camel@vslipchenko>
On Wednesday 12 November 2008 13:57, vit slipchenko wrote:
> PID PPID USER %CPU VSZ WCHAN COMMAND
> 38487 1 root 0.0 33980 kqread /usr/local/bin/php-cgi --fpm
> --fpm-config /usr/local/etc/php-fpm.conf
...
> [root@mx1]/usr/local/etc: gdb /usr/local/bin/php-cgi 38487
Это был единственный процесс, не висящий в sbwait. Попробуйте еще раз.
> GNU gdb 6.1.1 [FreeBSD]
> Attaching to program: /usr/local/bin/php-cgi, process 38487
> Reading symbols from /lib/libcrypt.so.4...(no debugging symbols
> found)...done.
...
> Loaded symbols for /libexec/ld-elf.so.1
> 0x285870db in kevent () from /lib/libc.so.7
> (gdb)
Вот здесь нужно будет набрать "where", нажать enter и скопировать вывод.
> > Было бы интересно посмотреть backtrace php-cgi процесса, висящего в
> > sbwait:
> >
> > $ gdb /usr/local/bin/php-cgi <pid>
> > ...
> > (gdb) where
--
Andrei Nigmatulin
GPG PUB KEY 6449830D
Now I lay me down to sleep(3)
Pray the OS my core to keep
If I die before I wake
Pray the Disk my core to take
|