Date: Thu, 02 Feb 2006 16:56:26 +0200 From: Iassen Anadoliev <korio@korio.org> To: Yar Tikhiy <yar@comp.chem.msu.su> Cc: freebsd-net@freebsd.org Subject: Re: Ftpd problems Message-ID: <cone.1138892186.647077.1301.1001@ibiza.ma3x.net> References: <cone.1138453965.573440.49834.1001@ibiza.ma3x.net> <43DB8EEA.6090006@mac.com> <cone.1138465534.246267.50054.1001@ibiza.ma3x.net> <20060130125746.GB44477@comp.chem.msu.su> <20060131145612.GE34373@comp.chem.msu.su>
next in thread | previous in thread | raw e-mail | index | archive | help
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 <korio@korio.org> --=_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--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?cone.1138892186.647077.1301.1001>