On Fri, May 12, 2000 at 11:04:20PM +1000, Ian Ward wrote:
> > Has anybody setup succesfully the delaying parameter for squid? I'm trying
> > to limit the bandwidth on browsing and download from the internet but I
> > can't figure out the /etc/squid/squid.conf settings to use?
> 
> You can't really throttle at the application layer, you need to do it down
> in the network or data link layer.

Actually, in the case of Squid, you can (as George has said).

As an example from the config file :

#       And, if delay pool number 2 is a class 3 delay pool as in the above
#       example, and you want to limit it to a total of 256kbps (strict limit)
#       with each 8-bit network permitted 64kbps (strict limit) and each
#       individual host permitted 4800bps with a bucket maximum size of 64kb
#       to permit a decent web page to be downloaded at a decent speed
#       (if the network is not being limited due to overuse) but slow down
#       large downloads more significantly:
#
#delay_parameters 2 32000/32000 8000/8000 600/64000

(Note the comment is in bits/sec, the options are in Bytes, thus the 8x
difference)

>From reading the comments in the config file it looks fairly powerful, but
I haven't actually used it so I can't really comment.

  Scott.
--
SLUG - Sydney Linux Users Group Mailing List - http://www.slug.org.au
To unsubscribe send email to [EMAIL PROTECTED] with
unsubscribe in the text

Reply via email to