bandwidth limiting with tc [message #28738] |
Thu, 27 March 2008 09:24 |
kkhari
Messages: 1 Registered: March 2008 Location: India
|
Junior Member |
|
|
Hi,
We are running virtuozzo 3 on some of our servers and virtuozzo 4 on some other. Recently we decided to implement bandwidth limiting with tc. We followed many links and decided to try this one on the openvz wiki,
http://wiki.openvz.org/Traffic_shaping_with_tc
The alternate one using HTB.
But when we started on we found that we had errors like
tc qdisc del dev venet0
RTNETLINK answers: No such file or directory
the same error for each tc command. While looking up on different forums we found that it was due to some kernel modules lacking , but then we tried lsmod to find out that it was blank,
*************************
-bash-3.00# modprobe sch_htb
FATAL: Error inserting sch_htb (/lib/modules/2.6.9-023stab046.2-enterprise/kernel/net/sched /sch_htb.ko): Operation not permitted
*************************
*************************
lsmod
Module Size Used by
*************************
No modules are loaded on the vps. It must be normal as a kernel doesn't exist actually for each vps if i understand correctly.
The kernel modules get loaded correctly on the main vps hardware node though.
Please let us know a way by which we cam implement this, all suggestions and comments are welcome.
Thank you
Harikumar Krishnan
'The future Is Open'
|
|
|