Re: Bug #13400: ftp functions are sometimes REALLY slow
| From: | Daniel Andersson | Date: | Sat, 22 Sep 2001 22:11:19 +0000 |
| Subject: | Re: Bug #13400: ftp functions are sometimes REALLY slow | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-66363@lists.php.net to get a copy of this message | ||
could it be that once in a while proftpd tries to resolve the ip of the
connecting machine?
and if it fails, it keeps this fail in a cache, for a while.. until it wants
to try again?
when my ftp'ing has been slow it's been because of resolving..
/ d
<woprog@hotmail.com> wrote in message news:bug-13400@bugs.php.net...
> From: woprog@hotmail.com
> Operating system: Red Hat Linux 7.1
> PHP version: 4.0.6
> PHP Bug Type: Performance problem
> Bug description: ftp functions are sometimes REALLY slow
>
> 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 bug report at: http://bugs.php.net/?id=13400&edit=1
>