Edit report at http://bugs.php.net/bug.php?id=52720&edit=1
ID: 52720 Updated by: ras...@php.net 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: 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. Previous Comments: ------------------------------------------------------------------------ [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] ras...@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] ras...@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. ------------------------------------------------------------------------ [2010-08-28 16:30:47] mat999 at gmail dot com its not that easy for php-fpm, and this is php-fpm specific. ------------------------------------------------------------------------ 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