Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Is there any way to set a upper bandwidth limit such that at any point of time the total bandwidth from Squid service will not cross the upper limit?

Warm Regards


share|improve this question
up vote 2 down vote accepted

Use delay pools. Delay pools allows you to limit traffic for clients or client groups:

delay_pools 1
delay_class 1 1
delay_access 1 allow all
delay_parameters 1 64000/64000          # 512 kbits == 64 kbytes per second
share|improve this answer
Hi ooshro, Thanks for the quick reply. Will this limit the incoming and outgoing to 512kbits ? Is there any way I can verify it ? – Supratik Feb 21 '11 at 9:35
@Supratik Limit only incoming. For outgoing use tc or iptables(hashlimit). To verify use – ooshro Feb 21 '11 at 9:38

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.