From owner-freebsd-net@FreeBSD.ORG Thu Feb 2 14:56:10 2006 Return-Path: X-Original-To: freebsd-net@freebsd.org Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1B18416A420 for ; Thu, 2 Feb 2006 14:56:10 +0000 (GMT) (envelope-from korio@korio.org) Received: from server.ma3x.net (ns.ma3x.net [195.214.255.249]) by mx1.FreeBSD.org (Postfix) with SMTP id A461243D48 for ; Thu, 2 Feb 2006 14:56:07 +0000 (GMT) (envelope-from korio@korio.org) Received: (qmail 25647 invoked by uid 1049); 2 Feb 2006 14:56:05 -0000 Received: from korio@korio.org by server by uid 0 with qmail-scanner-1.20 (AV Scan @ Club Ma3x Clear:RC:1(195.214.255.196):. Processed in 0.559798 secs); 02 Feb 2006 14:56:05 -0000 X-Qmail-Scanner-Mail-From: korio@korio.org via server X-Qmail-Scanner: 1.20 (Clear:RC:1(195.214.255.196):. Processed in 0.559798 secs) Received: from unknown (HELO ibiza.ma3x.net) (195.214.255.196) by 0 with SMTP; 2 Feb 2006 14:56:04 -0000 References: <43DB8EEA.6090006@mac.com> <20060130125746.GB44477@comp.chem.msu.su> <20060131145612.GE34373@comp.chem.msu.su> Message-ID: X-Mailer: http://www.courier-mta.org/cone/ From: Iassen Anadoliev To: Yar Tikhiy Date: Thu, 02 Feb 2006 16:56:26 +0200 Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=_mimegpg-ibiza.ma3x.net-1301-1138892186-0001"; micalg=pgp-sha1; protocol="application/pgp-signature" Cc: freebsd-net@freebsd.org Subject: Re: Ftpd problems X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Feb 2006 14:56:10 -0000 This is a MIME GnuPG-signed message. If you see this text, it means that your E-mail or Usenet software does not support MIME signed messages. --=_mimegpg-ibiza.ma3x.net-1301-1138892186-0001 Content-Type: text/plain; format=flowed; charset="US-ASCII" Content-Disposition: inline Content-Transfer-Encoding: 7bit Yar Tikhiy writes: > On Mon, Jan 30, 2006 at 03:57:46PM +0300, Yar Tikhiy wrote: >> On Sat, Jan 28, 2006 at 06:25:34PM +0200, Iassen Anadoliev wrote: >> > Chuck Swiger writes: >> > >> > >Iassen Anadoliev wrote: >> > >>Hello guys i hope this is the appropriate list so... >> > >> >> > >>I am running a ftp server and have some problems with large files. While >> > >>syncing files over 4GB with rsync there is no problem: >> > >> >> > >>ls -lha >> > >>-rw------- 1 support support 4.2G Nov 14 19:46 somefile.data >> > >> >> > >>But when i try to download the file it fails: >> > > >> > >If you can identify more specificly which side is having the problem, it's >> > >probably worth filing a PR about it. Try using fetch or curl instead, to >> > >see >> > >whether another client does OK, or try using proftpd to test another FTP >> > >server. >> > Never sent PR before. So trying to find PR that already describe my >> > problem I found this: >> > http://www.FreeBSD.org/cgi/query-pr.cgi?pr=bin/89100 >> >> We seem to have got a bug in sendfile(2). Besides bin/89100, there >> is kern/92243 on it. The problem is rather unpleasant and it's in >> the kernel, not in ftpd(8). > > Would you mind trying the attached kernel patch? Note that you'll > need to rebuild the modules along with the kernel after applying the > patch. Thanks in advance! > Thanks for the patch it seems to work: fetch ftp://test:test@ibiza.korio.org/usr/src/test.zero test.zero 100% of 4293 MB 4255 kBps 00m00s > The patch is against HEAD. In case it fails to apply, just change > the type of the 2nd argument to vnode_create_vobject from size_t to > off_t in the .h and .c files -- that's the essence. > uname -a FreeBSD ibiza.ma3x.net 6.1-PRERELEASE FreeBSD 6.1-PRERELEASE #0: Thu Feb 2 15:19:27 EET 2006 root@ibiza.ma3x.net:/usr/obj/usr/src/sys/STENLY i386 > -- > Yar > -- Public Key: lynx -dump http://www.korio.org/korio.asc |gpg --import Key fingerprint = 38FB F45F 9FAB B1C2 0893 D11A 5559 04A2 67DA 266D _,'| _.-''``-...___..--';) /_ \'. __..-' , ,--...--''' <\ .`--''' ` /' `-';' ; ; ; __...--'' ___...--_..' .;.' (,__....----''' (,..--'' Iassen Anadoliev --=_mimegpg-ibiza.ma3x.net-1301-1138892186-0001 Content-Type: application/pgp-signature Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (FreeBSD) iD8DBQBD4h2bVVkEomfaJm0RAmtDAJ9JZqjSRNkaxm7zMk55PLHD26tT3ACgnvqj H9lqb7xDlZvPveb+Z6nzxxY= =7Bh3 -----END PGP SIGNATURE----- --=_mimegpg-ibiza.ma3x.net-1301-1138892186-0001--