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

Supratik

link|improve this question

47% accept rate
feedback

1 Answer

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
link|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 speedtest.net – ooshro Feb 21 '11 at 9:38
feedback

Your Answer

 
or
required, but never shown

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