LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 11-09-2010, 07:50 AM   #1
qwertyjjj
Senior Member
 
Registered: Jul 2009
Location: UK
Distribution: Cent OS5 with Plesk
Posts: 1,013

Rep: Reputation: 30
squid delay pools


I have put some delay pools on my server but am not sure if the settings are correct. Some users (seen using iftop) are still downloading at 1.5Mbps+

These are the settings:
Code:
acl magic_words1 url_regex -i 192.168
>> acl magic_words2 url_regex -i ftp .exe .mp3 .vqf .tar.gz .gz .rpm .zip
>> .rar .avi .mpeg .mpe .mpg .qt .ram .rm .iso .raw .wav .mov
>> acl restuser proxy_auth ncsa_users
>>
>> delay_pools 3
>> delay_class 1 2
>> delay_parameters 1 -1/-1 -1/-1
>> delay_access 1 allow magic_words1
>> delay_access 1 deny all
>> delay_class 2 2
>> delay_parameters 2 5000/150000 5000/120000
>> delay_access 2 allow magic_words2
>> delay_access 2 deny all
>> delay_class 3 1
>> # 256 Kbit/s fill rate, 1024 Kbit/s reserve
>> delay_parameters 3 32000/128000
>> delay_access 3 allow restuser
>> delay_access 3 deny all
When it says 256 or 32000 is this the download rate? Does that mean 256 kbps or is that download much faster?
I have a 100Mbit line but want to restrict each user to a max of 1Mbps, enough to watch video but not hog other people's bandwidth.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Squid with Delay Pools. nishith Linux - Server 2 01-02-2010 03:11 PM
squid delay pools moekad Linux - Networking 5 08-28-2009 11:07 AM
Squid delay pools suhas! Linux - Server 1 12-01-2007 12:49 PM
Squid delay pools Bilal84 Linux - Security 1 04-27-2005 08:38 AM
Squid Delay pools Bilal84 Linux - Networking 1 04-26-2005 03:07 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 04:37 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration