ID: 39020 Updated by: [EMAIL PROTECTED] Reported By: hugo at leisink dot net -Status: Open +Status: Feedback Bug Type: Reproducible crash Operating System: Debian Linux PHP Version: 5.1.6 New Comment:
Thank you for this bug report. To properly diagnose the problem, we need a backtrace to see what is happening behind the scenes. To find out how to generate a backtrace, please read http://bugs.php.net/bugs-generating-backtrace.php for *NIX and http://bugs.php.net/bugs-generating-backtrace-win32.php for Win32 Once you have generated a backtrace, please submit it to this bug report and change the status back to "Open". Thank you for helping us make PHP better. Previous Comments: ------------------------------------------------------------------------ [2006-10-07 06:50:38] hugo at leisink dot net New problem: for some of my sites, I got FastCGI working. For some sites not. PHP dumps a 200MB core file in /tmp. I think we really got a crash here. ------------------------------------------------------------------------ [2006-10-03 12:25:40] hugo at leisink dot net Ok, I've got something interesting. I've been digging through the source and found the statement PHP_FCGI_MAX_REQUESTS. I've found the file /sapi/cgi/README.FastCGI, which says some things about the environment settings PHP_FCGI_CHILDREN and PHP_FCGI_MAX_REQUESTS. I'm running PHP now with 5 children and everything looks oke (Don't close this bugreport yet, please. Wanna do some more tests first). It even survived several stresstests with 'ab'. But now I have this question: Why is this important (read: necessary) information NOT in the manualpage!?!?! ------------------------------------------------------------------------ [2006-10-03 11:19:50] hugo at leisink dot net 5.2.0RC5-dev also quits/crashes. I agree that Valgrind doesn't show any crash. But the result is the same: PHP stops running. I'm trying real hard to find out what is happing or what causes PHP to quit/crash. It looks like it's random. Somethings it stops after 100 requests, somethings after 5000. I'm using Debian sarge, which comes with PHP 4.3.10. This version has the same problem. I'm writing my own webserver and I'm now implementing FastCGI support. So, it is possible that my webserver doesn't send the right FastCGI commands/record information. But if so, it shouldn't make PHP to stop running. ------------------------------------------------------------------------ [2006-10-03 09:41:16] [EMAIL PROTECTED] The valgrinds output doesn't show any crash, btw. ------------------------------------------------------------------------ [2006-10-03 09:40:24] [EMAIL PROTECTED] Please try using this CVS snapshot: http://snaps.php.net/php5.2-latest.tar.gz For Windows: http://snaps.php.net/win32/php5.2-win32-latest.zip ------------------------------------------------------------------------ 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/39020 -- Edit this bug report at http://bugs.php.net/?id=39020&edit=1
