Bug #17044 Updated: TIME_WAIT status
| From: | jason@php.net | Date: | Mon, 01 Jul 2002 20:29:27 +0000 |
| Subject: | Bug #17044 Updated: TIME_WAIT status | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-12710@lists.php.net to get a copy of this message | ||
ID: 17044
Updated by: jason@php.net
Reported By: gberger@apaara.com
-Status: Open
+Status: Bogus
Bug Type: Sockets related
Operating System: Linux Red Hat 7.0
PHP Version: 4.2.1
New Comment:
Sorry, but the bug system is not the appropriate forum for asking
support questions. Your problem does not imply a bug in PHP itself.
For a list of more appropriate places to ask for help using PHP,
please visit http://www.php.net/support.php
Thank you for your interest in PHP.
I read this thoroughly, and it looks like Keep-Alive was the actual
problem here.
I can't see anything here that would relate to a php bug.
TCP connections have a 2MSL TIME_WAIT status, and this is just an
aspect of TCP.
Previous Comments:
------------------------------------------------------------------------
[2002-06-25 05:41:55] filippo@zirak.it
trying to temporarily use a "daemontools" way... found a CLOSE_WAIT
problem...
http://bugs.php.net/bug.php?id=17964
are php-sockets well tested ?!? ;-P
Filippo
------------------------------------------------------------------------
[2002-06-24 10:52:27] prakash@libero.it
same problem on kernel 2.2.16 and php 4.2.1
and kernel 2.2.16 and php 4.1.2...
connections are accepted but cannot be closed properly.
prakash
------------------------------------------------------------------------
[2002-06-24 10:20:09] filippo@zirak.it
Resume:
server socket (accepted) will cause a 60secs TIME_WAIT even after a
socket_shutdown+socket_close ...
(it's difficult it a kernel problem, as I've checked with other
tcp-servers, and they behave normally...)
... hope it helps...
phy
------------------------------------------------------------------------
[2002-06-24 09:12:11] filippo@zirak.it
> probably, this is an apache issue.
> just because i'm curious, fillipo: what kernel and what apache do you
use?
kernel 2.4.4
no Apache!
I'm finding the same TIME_WAIT bug also with client/server (both
written in php) architecture, not found with other php4 < 4.2.1...
for that I think it may be a kernel or php problem (I've to check
kernel), but not Apache, at least in my case.
phy
------------------------------------------------------------------------
[2002-06-24 09:07:35] filippo@zirak.it
the thing i do not understad is that in the praticular case described,
the tcp connection opened to the browser stays in TIME_WAIT as
well;
this should not be, since webserv is the server in this case.
probably,
this is an apache issue.
just because i'm curious, fillipo: what kernel and what apache do
you
use?
------------------------------------------------------------------------
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/17044
--
Edit this bug report at http://bugs.php.net/?id=17044&edit=1