[CentOS] Traffic shaping problem

John Doe
Mon, 04 Feb 2013 10:51:10 -0000

From: Bent Terp <bent at terp.se>

> I tried last week to do traffic shaping on a production system,
> object of the exercise was simply to throttle the outgoing traffic.
> tc qdisc add dev eth4 root tbf rate 300mbit burst 300kb latency 50ms
> But the server became rather instable, crashing repeatedly without
> anything in the logs.
> Can anybody spot glaring mistakes in the tc command above,
> or tell me what I should have done instead?

I am no tc expert so last time I tested I had some success with the cbq.init
script...
There are other (more recent?) ones here:
http://linux-ip.net/articles/Traffic-Control-HOWTO/scripts.html

JD