From: jon at destra dot com Operating system: RedHat Linux Fedora Core 2 PHP version: 4.3.8 PHP Bug Type: FTP related Bug description: ftp_connect() fails on a system where there is a large number of open files.
Description: ------------ ftp_connect fails on a server with a large number of open files. Eg. In a virtual hosting environment where Apache has 1000+ log files open. Reproduce code: --------------- $ftp1 = ftp_connect('127.0.0.1') or die("Couldn't connect to server"); Expected result: ---------------- Established connection with a handle via $ftp1. Actual result: -------------- The connection fails. -- Edit bug report at http://bugs.php.net/?id=31080&edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=31080&r=trysnapshot4 Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=31080&r=trysnapshot50 Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=31080&r=trysnapshot51 Fixed in CVS: http://bugs.php.net/fix.php?id=31080&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=31080&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=31080&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=31080&r=needscript Try newer version: http://bugs.php.net/fix.php?id=31080&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=31080&r=support Expected behavior: http://bugs.php.net/fix.php?id=31080&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=31080&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=31080&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=31080&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=31080&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=31080&r=dst IIS Stability: http://bugs.php.net/fix.php?id=31080&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=31080&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=31080&r=float MySQL Configuration Error: http://bugs.php.net/fix.php?id=31080&r=mysqlcfg