From: daniel at polkabrothers dot com
Operating system: Mac OS X 10.4.2
PHP version: 5.0.5
PHP Bug Type: Network related
Bug description: Opening a lot of files result in no network connectivity
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 bug report at http://bugs.php.net/?id=35005&edit=1
--
Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=35005&r=trysnapshot4
Try a CVS snapshot (php5.0):
http://bugs.php.net/fix.php?id=35005&r=trysnapshot50
Try a CVS snapshot (php5.1):
http://bugs.php.net/fix.php?id=35005&r=trysnapshot51
Fixed in CVS: http://bugs.php.net/fix.php?id=35005&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=35005&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=35005&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=35005&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=35005&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=35005&r=support
Expected behavior: http://bugs.php.net/fix.php?id=35005&r=notwrong
Not enough info:
http://bugs.php.net/fix.php?id=35005&r=notenoughinfo
Submitted twice:
http://bugs.php.net/fix.php?id=35005&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=35005&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=35005&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=35005&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=35005&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=35005&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=35005&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=35005&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=35005&r=mysqlcfg