#45254 [Com]: PHP does not time out when accepting for connections while working as FastCGI
| From: | andi at splitbrain dot org | Date: | Sun, 15 Nov 2009 22:27:43 +0000 |
| Subject: | #45254 [Com]: PHP does not time out when accepting for connections while working as FastCGI | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-144647@lists.php.net to get a copy of this message | ||
ID: 45254
Comment by: andi at splitbrain dot org
Reported By: yurtesen at ispro dot net
Status: No Feedback
Bug Type: CGI related
Operating System: FreeBSD 6.3
PHP Version: 5.2.6
New Comment:
I still seem to be affected by this bug using PHP 5.2.11 and lighttpd
1.4.19.
Unfortunately this bug is hard to reproduce especially since it happens
on a production machine. Can someone confirm that a proposed fix was
indeed placed in PHP 5.2.9?
Previous Comments:
------------------------------------------------------------------------
[2009-05-31 07:23:29] yurtesen at ispro dot net
Hej Fredric,
I believe this problem is solved in 5.2.9 version already. Can you test
that?
Thanks...
------------------------------------------------------------------------
[2009-05-30 22:06:23] fredric at drombolaget dot se
I have the exact same problem right now on our VPS.
The VPS is running Ubuntu 8.04 64 bit on OpenVZ. The install of the
software is from Ubuntu standard repositories.
The software is:
Server: Apache/2.2.8 (Ubuntu) PHP/5.2.4-2ubuntu5.6 with Suhosin-Patch
mod_ssl/2.2.8 OpenSSL/0.9.8g
Occassionally a php-cgi process "hangs" or rather does absolutely
nothing - but it does consume memory. As the number of processes
approaches the 30:s the server starts dying from acute lack of memory.
killall -9 php-cgi is still all that get's us out of this mess.
Restarting apache doesn't even work as it seems to be waiting for the
php processes to die.
------------------------------------------------------------------------
[2008-07-23 01:00:01] php-bugs at lists dot php dot net
No feedback was provided for this bug for over a week, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
------------------------------------------------------------------------
[2008-07-15 20:54:33] jani@php.net
Please try using this CVS snapshot:
http://snaps.php.net/php5.2-latest.tar.gz
For Windows (zip):
http://snaps.php.net/win32/php5.2-win32-latest.zip
For Windows (installer):
http://snaps.php.net/win32/php5.2-win32-installer-latest.msi
------------------------------------------------------------------------
[2008-07-13 21:52:37] s dot tretter at szene1 dot at
sorry, some more information about my software setup:
using apache 2.2.6, but preforked. fastcgi 2.4.6, php 5.2.6 but problem
exist with all php version i ever used.
my compile options for php:
'./configure' \
'--enable-fastcgi' \
'--enable-force-cgi-redirect' \
'--with-pcre-regex' \
'--without-sqlite' \
'--with-mysqli' \
'--with-gd' \
'--with-ttf' \
'--enable-exif' \
'--with-mcrypt' \
'--enable-mbstring' \
'--enable-spl' \
'--prefix=/usr/local/php5' \
'--with-zlib' \
'--enable-gd-native-ttf' \
'--enable-sockets' \
'--enable-soap' \
'--with-apxs2=/usr/local/apache2/bin/apxs' \
"$@"
------------------------------------------------------------------------
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/45254
--
Edit this bug report at http://bugs.php.net/?id=45254&edit=1