Bug #52720 [Com]: User Session handler Crash [FPM and APC]
| From: | mat999 at gmail dot com | Date: | Sat, 28 Aug 2010 14:53:40 +0000 |
| Subject: | Bug #52720 [Com]: User Session handler Crash [FPM and APC] | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-153878@lists.php.net to get a copy of this message | ||
Edit report at http://bugs.php.net/bug.php?id=52720&edit=1
ID: 52720
Comment by: mat999 at gmail dot com
Reported by: mat999 at gmail dot com
Summary: User Session handler Crash [FPM and APC]
Status: Open
Type: Bug
Package: Session related
Operating System: Debian Lenny Linux
PHP Version: 5.3.3
Block user comment: N
New Comment:
Ok then, dont get precise.
Ill have to setup a dev install then on my local PC since I cant do this
on my production server. Ill be away tomorow/today (its 1am) so Ill have
to do it on monday unless someone test the above code on php-fpm before
then.
Previous Comments:
------------------------------------------------------------------------
[2010-08-28 16:48:28] rasmus@php.net
Those are processes, not threads. There is a root-owned master process
that
preforks multiple child processes to handle requests. Simple set that
to a low
number in your config file and attach gdb to one of the children. It's
easy.
------------------------------------------------------------------------
[2010-08-28 16:45:51] mat999 at gmail dot com
ummm? Yes it is.
|-php5-fpm(53652)-+-php5-fpm(21570,www-data)
| |-php5-fpm(22058,www-data)
| |-php5-fpm(22305,vu2001)
| |-php5-fpm(22307,vu2001)
| |-php5-fpm(22308,vu2001)
| |-php5-fpm(22311,vu2001)
| |-php5-fpm(22313,vu2001)
| |-php5-fpm(22315,vu2001)
| |-php5-fpm(22317,vu2001)
| |-php5-fpm(22318,vu2001)
| |-php5-fpm(22319,vu2001)
| |-php5-fpm(22326,vu2001)
| |-php5-fpm(22327,vu2001)
| |-php5-fpm(22328,vu2001)
| |-php5-fpm(22330,vu2001)
| |-php5-fpm(22354,vu2009)
| |-php5-fpm(22356,vu2009)
| |-php5-fpm(22362,vu2009)
| `-php5-fpm(22381,vu2009)
------------------------------------------------------------------------
[2010-08-28 16:43:52] rasmus@php.net
No it isn't.
------------------------------------------------------------------------
[2010-08-28 16:42:18] mat999 at gmail dot com
ive tried that but it doesnt propagate to child processes and php-fpm is
multy threaded.
------------------------------------------------------------------------
[2010-08-28 16:40:05] rasmus@php.net
Just attach gdb to a runnning php-fpm process.
gdb /usr/bin/php-fpm 1234
where 1234 is the process id. Then hit 'c' for continue in gdb and hit
port 80
until you hit the process you attached to.
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/bug.php?id=52720
--
Edit this bug report at http://bugs.php.net/bug.php?id=52720&edit=1