From owner-freebsd-stable@FreeBSD.ORG Tue Jun 6 17:07:12 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EDFEB16AB03 for ; Tue, 6 Jun 2006 17:07:12 +0000 (UTC) (envelope-from dsamms@nw-ds.com) Received: from scorch.nw-ds.com (scorch.nw-ds.com [204.13.148.196]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2D4EE43D72 for ; Tue, 6 Jun 2006 17:07:05 +0000 (GMT) (envelope-from dsamms@nw-ds.com) Received: from [204.210.251.113] (helo=cpe-204-210-251-113.columbus.res.rr.com) by scorch.nw-ds.com with esmtpsa (SSLv3:RC4-MD5:128) (Exim 4.50 (FreeBSD)) id 1Fnf1E-000PhZ-Vh; Tue, 06 Jun 2006 13:07:05 -0400 From: David Samms To: korio@korio.org In-Reply-To: <60226.84.21.222.6.1149599875.squirrel@webmail.korio.org> References: <1149594683.16884.9.camel@freeBSD.internal> <60226.84.21.222.6.1149599875.squirrel@webmail.korio.org> Content-Type: text/plain Date: Tue, 06 Jun 2006 13:06:17 -0400 Message-Id: <1149613577.42420.5.camel@freeBSD.internal> Mime-Version: 1.0 X-Mailer: Evolution 2.4.2.1 FreeBSD GNOME Team Port Content-Transfer-Encoding: 7bit X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - scorch.nw-ds.com X-AntiAbuse: Original Domain - freebsd.org X-AntiAbuse: Originator/Caller UID/GID - [0 0] / [26 6] X-AntiAbuse: Sender Address Domain - nw-ds.com X-Source: X-Source-Args: X-Source-Dir: Cc: freebsd-stable@freebsd.org Subject: Re: FTP - Large file transfers (6.1) X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Jun 2006 17:07:13 -0000 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?