very busy ftpd

Mikhail Teterin mi at corbulon.video-collage.com
Wed Aug 10 05:05:41 GMT 2005


> > 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


More information about the freebsd-net mailing list