Bug #13400 Updated: ftp functions are sometimes REALLY slow

From: Date: Thu, 11 Jul 2002 03:00:16 +0000
Subject: Bug #13400 Updated: ftp functions are sometimes REALLY slow
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-13798@lists.php.net to get a copy of this message
ID: 13400 Updated by: sniper@php.net Reported By: woprog@hotmail.com -Status: Open +Status: Closed Bug Type: FTP related Operating System: Red Hat Linux 7.1 PHP Version: 4.0.6 New Comment: This bug has been fixed in CVS. You can grab a snapshot of the CVS version at http://snaps.php.net/. In case this was a documentation problem, the fix will show up soon at http://www.php.net/manual/. In case this was a PHP.net website problem, the change will show up on the PHP.net site and on the mirror sites. Thank you for the report, and for helping us make PHP better. Previous Comments: ------------------------------------------------------------------------ [2002-04-20 22:25:28] zlm@wst.net.cn I have met this problem on redhat7.2 with proftpd1.2.4, I find that starting proftpd with argument " -d 3" can solve this problem. ------------------------------------------------------------------------ [2001-09-22 15:24:41] woprog@hotmail.com I lately installed ProFTPD. This is on of the fastest FTP daemons I know. I've made a site which heavily uses FTP connections to a computer in the same subnet (100Mbit connection between the two). It's really strange. Sometimes the ftp functions (especially ftp_nlist and ftp_rawlist) work fine, sometimes it takes like 5 minutes before the call to the function ends with an empty array as a result... this is really annoying. I've searched user submitted notes about this problem, but couldn't find anything. I don't know if this is a known issue, or maybe it's just a configuration problem on one of the two involved Linux PC's. What I do know is when I restart httpd, the slowdown is always over immediately. I DO close every ftp connection I make! Please help... ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=13400&edit=1

« previous php.bugs (#13798) next »