Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 10 Aug 2005 00:40:46 -0400 (EDT)
From:      Mikhail Teterin <mi@corbulon.video-collage.com>
To:        maxim@macomnet.ru (Maxim Konovalov)
Cc:        questions@freebsd.org, net@freebsd.org
Subject:   Re: very busy ftpd
Message-ID:  <200508100440.j7A4ekqp025584@corbulon.video-collage.com>
In-Reply-To: <20050810064601.N91726@mp2.macomnet.net>

next in thread | previous in thread | raw e-mail | index | archive | help
> > I just noticed, that uploading a file over a LANG (at around
> > 5.7Mb/s) resulted in around 25% CPU consumption by the ftpd.
> >
> > I think, that's unusual for a Pentium4 -- what is the process doing?
> 
> Check the client does not use ascii mode when uploading (getc() vs
> read()).

That's quite possible, indeed. I wouldn't put it past some users --
some still use the ancient ftp-clients, which default to text-mode
transfers.

Is there any way to disable this mode on the server, perhaps? Even
if it violates the protocol :-/

Thanks!

	-mi



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200508100440.j7A4ekqp025584>