php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #15988 Pending established tcp connections
Submitted: 2002-03-10 14:37 UTC Modified: 2002-08-11 01:00 UTC
Votes:3
Avg. Score:3.7 ± 1.9
Reproduced:1 of 1 (100.0%)
Same Version:0 (0.0%)
Same OS:0 (0.0%)
From: vedad at kajtaz dot net Assigned:
Status: No Feedback Package: *Network Functions
PHP Version: 4.1.2 OS: Linux 2.2.20 (rh6)
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: vedad at kajtaz dot net
New email:
PHP Version: OS:

 

 [2002-03-10 14:37 UTC] vedad at kajtaz dot net
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

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-07-10 23:54 UTC] sniper@php.net
Thank you for taking the time to report a problem with PHP.
Unfortunately you are not using a current version of PHP -- 
the problem might already be fixed. Please download a new
PHP version from http://www.php.net/downloads.php

If you are able to reproduce the bug with one of the latest
versions of PHP, please change the PHP version on this bug report
to the version you tested and change the status back to "Open".
Again, thank you for your continued support of PHP.


 [2002-08-11 01:00 UTC] php-bugs at lists dot php dot net
No feedback was provided for this bug for over a month, 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".
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sun Dec 22 01:01:30 2024 UTC