#35005 [Opn]: Opening a lot of files result in no network connectivity
| From: | daniel at polkabrothers dot com | Date: | Mon, 31 Oct 2005 15:22:41 +0000 |
| Subject: | #35005 [Opn]: Opening a lot of files result in no network connectivity | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-87266@lists.php.net to get a copy of this message | ||
ID: 35005
User updated by: daniel at polkabrothers dot com
Reported By: daniel at polkabrothers dot com
Status: Open
Bug Type: Network related
Operating System: Mac OS X 10.4.2
PHP Version: 5.0.5
New Comment:
That should obviously be "Same result with CVS-version
200510311130", not CSV.
Previous Comments:
------------------------------------------------------------------------
[2005-10-31 14:22:04] daniel at polkabrothers dot com
Same result with CSV-version 200510311130.
------------------------------------------------------------------------
[2005-10-31 12:49:32] sniper@php.net
Please try using this CVS snapshot:
http://snaps.php.net/php5-latest.tar.gz
For Windows:
http://snaps.php.net/win32/php5-win32-latest.zip
------------------------------------------------------------------------
[2005-10-27 23:17:00] daniel at polkabrothers dot com
I should probably add that I've tried running this both as
root (su root; ulimit -n 5000) and using sudo (sudo php ...).
Same result.
------------------------------------------------------------------------
[2005-10-27 23:06:30] daniel at polkabrothers dot com
I used ulimit -n to increase the number of allowed open
files, otherwise it wouldn't even allow me to create 3000
files.
Now ulimit -a gives me:
core file size (blocks, -c) 0
data seg size (kbytes, -d) 6144
file size (blocks, -f) unlimited
max locked memory (kbytes, -l) unlimited
max memory size (kbytes, -m) unlimited
open files (-n) 10240
pipe size (512 bytes, -p) 1
stack size (kbytes, -s) 8192
cpu time (seconds, -t) unlimited
max user processes (-u) 100
virtual memory (kbytes, -v) unlimited
Can't find anything else which relates to file descriptors
and Mac OS X.
------------------------------------------------------------------------
[2005-10-27 22:56:55] tony2001@php.net
Looks like MacOSX has max number of file descriptors set to 1024 or
something like that.
I don't have MacOSX around here, but I guess this fact should be
documented somewhere @ apple.com.
Could you check it?
------------------------------------------------------------------------
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/35005
--
Edit this bug report at http://bugs.php.net/?id=35005&edit=1