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'
|
|
|
|
Re: bandwidth limiting with tc [message #28743 is a reply to message #28738] |
Thu, 27 March 2008 13:32 |
vaverin
Messages: 708 Registered: September 2005
|
Senior Member |
|
|
Hi Harikumar,
Because of You are Virtuozzo customer I would advise You to address your questions to Virtuozzo support Team
http://www.parallels.com/en/support/virtuozzo/
It seems for me you are truing to configure traffic shaping from inside VE. It is incorrect, You should do it on the host system. Inside VE you cannot load any modules or have direct access to hardware.
Thank you,
Vasily Averin
|
|
|