Ftpd problems
Iassen Anadoliev
korio at korio.org
Thu Feb 2 06:56:10 PST 2006
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 at 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 at korio.org>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-net/attachments/20060202/a0798dd5/attachment.bin
More information about the freebsd-net
mailing list