ID: 39869 Updated by: [EMAIL PROTECTED] Reported By: michiel at boland dot org -Status: Assigned +Status: Feedback Bug Type: CGI related Operating System: Solaris PHP Version: 5.2.0 Assigned To: dmitry New Comment:
Could you please provide which "errno" and "ret" values leads php into this loop. Previous Comments: ------------------------------------------------------------------------ [2006-12-18 15:20:44] michiel at boland dot org Description: ------------ When using PHP in FastCGI mode, PHP has a tendency to once in a while spin in a tight loop, hogging the cpu. The fix is to initialize errno to 0 before any call to read() in the safe_read function in sapi/cgi/fastcgi.c Reproduce code: --------------- Not applicable Expected result: ---------------- n.a. Actual result: -------------- n.a. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=39869&edit=1