Discussion:
lftp unresponive
patrick
2013-09-05 20:00:10 UTC
Permalink
I've been using lftp in cygwin for a while to max out my
bandwidth/connection to a server. Sometimes this means having to go up to
50 segments or parallel downloads. Usually When I try anything above 30
segments or parallel downloads in sftp/ssh lftp hangs and becomes
unresponsive, leaving several "ssh.exe"s in my windows task manager. This
left me wondering if the issue was exclusive to ssh, so I tried 50
segment transfers and 50 parallel downloads over ftps on my vsftpd server and it's
works pleasantly. However now I'm getting a issue where some directories
will randomly refuse to list to their contents and hang at "Making Data
connection..." and one time "550 Failed to change directory". I believe
the issue could be vsftpd related but everything works fine in filezilla (an unacceptable ftp client for my needs).

Tested on two computers using two different lftp builds. One computer uses
the default lftp 4.4.8 build found in the cygwin 32 bit packages which
uses openssl and the other computer uses 4.4.9 which I compiled myself
with gnutls just to see if it made a difference.
lftp -v "Libraries used: Readline 6.1, GnuTLS 3.2.0, libiconv 1.14, zlib
1.2.8"

So is there a way to make lftp behave over sftp when trying to download at
30+ segments? What ftp daemon do you guys recommend I try instead of
vsftpd for ftps with lftp or do you know a way to fix my issue with
vsftpd?

Loading...