#31080 [Asn->Ana]: ftp_connect() fails on a system where there is a large number of open files.
| From: | wez@php.net | Date: | Fri, 17 Dec 2004 02:02:58 +0000 |
| Subject: | #31080 [Asn->Ana]: ftp_connect() fails on a system where there is a large number of open files. | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-70436@lists.php.net to get a copy of this message | ||
ID: 31080
Updated by: wez@php.net
Reported By: jon at destra dot com
-Status: Assigned
+Status: Analyzed
Bug Type: FTP related
Operating System: RedHat Linux Fedora Core 2
PHP Version: 4.3.8
Assigned To: wez
New Comment:
I don't have the time to back-port the patch, which is why I suggested
opening up this bug report.
Previous Comments:
------------------------------------------------------------------------
[2004-12-17 02:59:39] sniper@php.net
Assigning to Wez then, if he would be so nice to fix this in 4.3.x
branch too. :)
------------------------------------------------------------------------
[2004-12-15 13:51:08] jorton@php.net
We've just been using hacky workarounds for this which I doubt anyone
really wants in the 4.3.x tree. Wez has fixed all such problems
properly in 5.0.3 so the proper solution lies there.
------------------------------------------------------------------------
[2004-12-15 02:30:21] jon at destra dot com
Please note I opened this ticket at the suggestion of Wez Furlong.
Please also take a look at the following:
https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=125258
------------------------------------------------------------------------
[2004-12-15 00:55:04] jon at destra dot com
Ahh, no I didn't. I have more then enough file descriptors but PHP is
not using them.
[root@ozhlin01 root]# cat /proc/sys/fs/file-max
32768
I suspect it is hard coding it's max number of file handles?
------------------------------------------------------------------------
[2004-12-14 14:33:19] derick@php.net
You just run out of filedescriptors. This is not something PHP can fix
for you. You either need to cut down in the number of Open files, or
adjust your kernel parameters.
------------------------------------------------------------------------
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/31080
--
Edit this bug report at http://bugs.php.net/?id=31080&edit=1