RE: [squid-users] ftp receive buffer size?

From: Robert Collins <robertc@dont-contact.us>
Date: Thu, 25 Sep 2003 07:53:34 +1000

> but in my case it's necessary (user has disabled ftp connect, so the
> only way for him to use ftp server -- is http gateway). Is it really
> unconfigurable option in squid? Probably I can 'fix' something in source
> code... but reading 300 KB of data on first 10 KB request is not right!

Well, you might try delay pools. There you could set a maximal byte rate
for FTP.

I'll note though, that squid should not be reading 300Kb when the client
has only recieved 10KB. Check your readahead gap in squid.conf. If that
is set high, lower it. If that is not set, or is set lower than 100Kb,
then there is probably a bug in squid related to FTP and readahead. If
you are running a version earlier than squid 2.5, upgrade, or if you are
running a 2.5 version, please file a bug in bugzilla.

Rob

-- 
GPG key available at: <http://members.aardvark.net.au/lifeless/keys.txt>.

Received on Wed Sep 24 2003 - 15:53:40 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:20:01 MST