Bug #15988: Pending established tcp connections

From: Date: Sun, 10 Mar 2002 19:37:37 +0000
Subject: Bug #15988: Pending established tcp connections
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-2170@lists.php.net to get a copy of this message
From: vedad@kajtaz.net Operating system: Linux 2.2.20 (rh6) PHP version: 4.1.2 PHP Bug Type: *Network Functions Bug description: Pending established tcp connections Hello, since i've upgraded to 4.1.2 (was 4.0.4pl1), i'm seeing pending established tcp connections with netstat. They're certainly coming out of the server (because random tcp port is used versus port 80 on the remote end), and are probably caused by an fopen('http://...') on one of the sites hosted by the server. There indeed is a site on the server which does fopen('http://the_server_i_was_seeing_in_netstat/'), so i'm quite sure connection was initiated by php and not by some other process. It is not a temporary issue, as it was arround and 'established' for +24 hours (there are 99% chances it was always the same socket, as it was the same local port number and same remote host+port pair). It dissapeared by rehashing apache (apachectl graceful). I've never seen this with 4.0.4pl1 and previous versions, while the site doing the fopen() is on the server for months. Maybe php is now supporting http keep-alive on fopen('http://'), but i'm not aware of that. If so, please don't take this bugreport into account. Thanx -- vedad -- Edit bug report at http://bugs.php.net/?id=15988&edit=1 -- Fixed in CVS: http://bugs.php.net/fix.php?id=15988&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=15988&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=15988&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=15988&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=15988&r=support Expected behavior: http://bugs.php.net/fix.php?id=15988&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=15988&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=15988&r=submittedtwice

« previous php.bugs (#2170) next »