LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-08-2010, 12:14 PM   #1
landysaccount
Member
 
Registered: Sep 2008
Location: Dominican Republic
Distribution: Debian
Posts: 188

Rep: Reputation: 18
Squid Delay pool help.


Hello.

Lately I've been experiencing that our internet connection has being crawling. I noticed some users like to download movies, videos, and a lot of other content that kills our internet bw. I've been thinking of throtle every user in our network. I've tried it in the past with tc but, when I run squid I can't get it to do its job. If I do NOT run squid and just do a normal forward from internet to our lan and viceversa the tc shaping works great throtling the speed or bw to each user I config... Now, I would like to give it a try with squid and delay pools but, after reading some documentations, it has confused me. I learned that there are three pools or classes. Can you please guide me to where I can find info on how to throtle users with delay pools?

I would like to assign each user or ip 512kbps / 128kbps and don't want any to borrow from any other..

Thanks in advanced for your help.
 
Old 08-08-2010, 12:40 PM   #2
zootboy
Member
 
Registered: Nov 2008
Location: In a dumpster, with my laptop.
Distribution: Fedora
Posts: 124

Rep: Reputation: 25
May I suggest that you read this section of the documentation:
http://www.deckle.co.za/squid-users-...ond_Pool_Class

It seems to describe exactly what you want. But here's a breakdown of the code:

Code:
acl all src 0.0.0.0/0.0.0.0              ## APPLIES TO ALL IPS ON THE NETWORK ##
delay_pool_count 1                       ## ONLY ONE KIND OF DELAY POOL USED ##
delay_class 1 2                          ## USE A CLASS 2 POOL (PER-IP RESTRICTION) ##
delay_parameters 1 12500/12500 2500/2500 ## OVERALL LIMIT AND PER-IP LIMIT ##
delay_access 1 allow all                 ## ENABLE THE DELAY POOL ##
 
  


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
delay pool in squid raheelch Linux - Server 4 03-01-2010 06:26 AM
How to find out if Squid is compiled with Delay Pool linuxgirlie Linux - Server 2 02-03-2010 05:03 AM
Not able to attach acl created in squid to delay pool linuxlover.chaitanya Linux - Newbie 0 04-17-2008 02:54 AM
Understanding Delay Pool Configuration (Squid) carl0ski Linux - Server 0 04-20-2007 02:00 AM


All times are GMT -5. The time now is 05:48 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration