ID: 31080
Updated by: jorton@php.net
Reported By: jon at destra dot com
Status: Analyzed
Bug Type: FTP related
Operating System: RedHat Linux Fedora Core 2
PHP Version: 4.3.8
New Comment:
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.
Previous Comments:
------------------------------------------------------------------------
[2004-12-15 04:10:25] jon at destra dot com
Sorry, I forgot you get to deal with folks that can't configure a
server reporting things as bugs when they aren't. :)
------------------------------------------------------------------------
[2004-12-15 03:57:22] sniper@php.net
Why didn't you give that RH bug number in the first place? Would have
saved our time a lot. :)
------------------------------------------------------------------------
[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 02:19:57] jon at destra dot com
It triggers the die. There is no more error information to report.
There is nothing in the ftp servers logs to help and I can't really
turn on verbose logging for it in a production environment.
This works fine on an indentically configured server with less open
files, or in light of the following I should say open file descriptors,
on it.
[root@ozhlin01 root]# lsof | wc -l
89854
Which doesn't seem right...
"lsof lists all open files, including files which are not using file
descriptors - such as current working directories, memory mapped
library files, and executable text files."
[root@ozhlin01 root]# cat /proc/sys/fs/file-nr
4575 0 32768
That gives a more relevant number I expect.
Hope that helps some.
------------------------------------------------------------------------
[2004-12-15 01:28:41] sniper@php.net
What is the error it gives? (set error_reporting = E_ALL!)
Does the FTP server log have any clues why the connection fails?
At what point of the connection does it fail?
Put shortly: We need a lot more information!!
And how many files you HAVE open at the time of the failure?? ("lsof |
wc -l" command helps with that)
------------------------------------------------------------------------
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