php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #13400 ftp functions are sometimes REALLY slow
Submitted: 2001-09-22 15:24 UTC Modified: 2002-07-10 23:00 UTC
Votes:2
Avg. Score:4.0 ± 1.0
Reproduced:1 of 1 (100.0%)
Same Version:0 (0.0%)
Same OS:1 (100.0%)
From: woprog at hotmail dot com Assigned:
Status: Closed Package: FTP related
PHP Version: 4.0.6 OS: Red Hat Linux 7.1
Private report: No CVE-ID: None
 [2001-09-22 15:24 UTC] woprog at hotmail dot 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...

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-04-20 22:25 UTC] zlm at wst dot net dot 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.
 [2002-07-10 23:00 UTC] sniper@php.net
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.


 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Nov 07 20:01:29 2024 UTC