PHP 4.0 Bug #9427: PHP hangs when packets aren't returned when using session_start()
| From: | rargo at mcleodusa dot com | Date: | Fri, 23 Feb 2001 18:06:46 +0000 |
| Subject: | PHP 4.0 Bug #9427: PHP hangs when packets aren't returned when using session_start() | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-47355@lists.php.net to get a copy of this message | ||
From: rargo@mcleodusa.com
Operating system: Linux Mandrake 7.2
PHP version: 4.0.4pl1
PHP Bug Type: Performance problem
Bug description: PHP hangs when packets aren't returned when using session_start()
Short script:
<? mysql_connect("10.0.0.244", "user", "passwd");?>
Really any socket connection code.
Configure Command:
'./configure' '--with-apxs=/usr/sbin/apxs' '--with-mysql=/usr'
'--with-mcrypt=../mcrypt-2.2.6' '--with-mhash=../mhash-0.8.4'
'--with-ldap' '--with-fdftk' '--with-pdflib' '--with-zlib'
'--with-gd' '--with-pspell' '--with-oci8'
'--with-java=/opt/IBMJava2-13' '--enable-sigchild'
Pretty much the default php.ini.
We noticed this occurring once we put the machine inside a DMZ. If PHP tries to connect to an
address that the DMZ isn't allowing, the DMZ throws the packets away and PHP sits there waiting
for a response. This only happens when session_start() is called in the page. If session_start()
is commented out, the normal PHP warnings appear telling me of mysql or ldap not being able to
connect.
--
Edit Bug report at: http://bugs.php.net/?id=9427&edit=1