#35005 [Opn->Fbk]: Opening a lot of files result in no network connectivity
| From: | tony2001@php.net | Date: | Thu, 27 Oct 2005 20:42:03 +0000 |
| Subject: | #35005 [Opn->Fbk]: Opening a lot of files result in no network connectivity | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-87163@lists.php.net to get a copy of this message | ||
ID: 35005
Updated by: tony2001@php.net
Reported By: daniel at polkabrothers dot com
-Status: Open
+Status: Feedback
Bug Type: Network related
Operating System: Mac OS X 10.4.2
PHP Version: 5.0.5
New Comment:
Not enough information was provided for us to be able
to handle this bug. Please re-read the instructions at
http://bugs.php.net/how-to-report.php
If you can provide more information, feel free to add it
to this bug and change the status back to "Open".
Thank you for your interest in PHP.
Previous Comments:
------------------------------------------------------------------------
[2005-10-27 22:31:53] daniel at polkabrothers dot com
Description:
------------
When opening a lot (3000 in this case) files under Mac OS X,
network connectivity disappears.
This has been tested under Linux 2.6, and works fine.
Reproduce code:
---------------
$fp = array();
for($x=0;$x<3000;$x++) {
$fp[$x] = fopen("/tmp/$x", "w");
}
$url_fp = fopen("http://www.google.com",
"r");
var_dump(fread($url_fp, 1500));
Expected result:
----------------
To get the first 1500 bytes from www.google.com
Actual result:
--------------
string(0) ""
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=35005&edit=1