FTP - Large file transfers (6.1)

David Samms dsamms at nw-ds.com
Tue Jun 6 17:07:13 UTC 2006


On Tue, 2006-06-06 at 16:17 +0300, Iassen Anadoliev wrote:
> On Tue, June 6, 2006 2:51 pm, David Samms wrote:
> > I am having repeated FTP failures while transferring a 4G file across a
> > LAN. Swapped out the switch, cables, and NIC's so don't believe hardware
> > is involved.  Have tried the default FTP server as well as vsftp and
> > pure-ftp with the same results.  NICs tested are em, sk, and rl.
> >
> > How to duplicate failure:  Take two 6.1 machines with a 100M lan or
> > x-talk cable and try to FTP a DVD image.  The transfer fails around 90%
> > of the time with
> > 	"450 Error during write to data connection"
> >
> > We have a similar problem when using samba.  The failure is not as
> > consistent but always occurs under heavy load.  Here is the error:
> >
> > [2006/06/04 22:20:02, 0] lib/util_sock.c:write_data(557)
> >   write_data: write failure in writing to client 192.168.163.41. Error
> > Host is down
> >
> > It appears, that the network connection on the server is being reset,
> > but why?  And where or how do I find more information?
> >
> 
> 
> Can you look here:
> http://docs.freebsd.org/cgi/getmsg.cgi?fetch=110247+0+archive/2006/freebsd-net/20060205.freebsd-net
> The attached patch solved my problem. A temporary workaround was to use
> ProFTPD.

Thank you for your reply.

I patched the two files and rebuild world, the kernel, and pureFTP.  I
have retested the default FTP and pureFTP with the same failure.  

Anyone know how I can get more debug info?



More information about the freebsd-stable mailing list