On Thursday 29 May 2003 13:22, Rohit Neupane wrote: > Stef Coene wrote: > >On Thursday 29 May 2003 08:53, Rohit Neupane wrote: > >>Hi, > >> We have been using HTB for some time without any problem. But for > >> last 2-3 days I'm getting some different type of message in log file. I > >> don't know what this means. Can anybody please tell what is going on? > >> and if it is a problem what I have to do? > >> > >> htb*c10066 m=2 t=-205 c=-205 pq=0 df=53 ql=0 pa=0 f: > >> htb*c10022 m=2 t=103 c=103 pq=0 df=902 ql=0 pa=0 f: > >> htb*c10010 m=2 t=103 c=103 pq=0 df=716 ql=0 pa=0 f: > >> htb*c10032 m=2 t=103 c=103 pq=0 df=247093 ql=0 pa=0 f: > >> htb*c10054 m=2 t=103 c=103 pq=0 df=3694545 ql=0 pa=0 f: > >> htb*c10256 m=2 t=198 c=198 pq=0 df=0 ql=0 pa=0 f: > >> htb*c10112 m=2 t=5 c=5 pq=0 df=16343626 ql=0 pa=0 f: > >> htb*c10020 m=2 t=100 c=100 pq=0 df=1147 ql=0 pa=0 f: > >> htb*c10064 m=2 t=105 c=105 pq=0 df=60000000 ql=0 pa=0 > >> htb*c10120 m=2 t=5 c=5 pq=0 df=60000000 ql=0 pa=0 f: > >> htb*c10012 m=2 t=93 c=93 pq=0 df=743 ql=0 pa=0 f: > >> htb*c10030 m=2 t=99 c=99 pq=0 df=754 ql=0 pa=0 f: > >> htb*c10056 m=2 t=103 c=103 pq=0 df=674 ql=0 pa=0 f: > >> htb*c10004 m=2 t=8 c=6 pq=0 df=750 ql=0 pa=0 f: > >> htb*c10062 m=2 t=100 c=100 pq=0 df=16046 ql=0 pa=0 f: > >> htb*c10040 m=2 t=54 c=54 pq=0 df=759 ql=0 pa=0 f: > >> htb*c10026 m=2 t=103 c=103 pq=0 df=105644 ql=0 pa=0 f: > >> htb*c10005 m=2 t=8 c=6 pq=0 df=16 ql=0 pa=0 f: > >> htb*c10014 m=2 t=103 c=103 pq=0 df=17342 ql=0 pa=0 f: > >> htb*c10050 m=2 t=103 c=103 pq=0 df=2413 ql=0 pa=0 f: > >> htb*c10036 m=2 t=56 c=56 pq=0 df=784 ql=0 pa=0 f: > >> htb*c10060 m=2 t=101 c=101 pq=0 df=2100611 ql=0 pa=0 f: > >> htb*c10024 m=2 t=103 c=103 pq=0 df=14518 ql=0 pa=0 f: > >> htb*c10106 m=2 t=105 c=105 pq=0 df=60000000 ql=0 pa=0 > >> htb*c10016 m=2 t=103 c=103 pq=0 df=677 ql=0 pa=0 f: > > > >Can you post your htb commands? And I think there are more messages in > > your kernel log then the ones you posted. > > Well, htb has been coplaining from time about r2q size being low. In > fact I'm using default r2q (10). > Except that I've seen nothing in the log before. > Here are my rules. > > tc qdisc del dev eth0 root > tc qdisc add dev eth0 root handle 1: htb default 256 > tc qdisc del dev eth1 root > tc qdisc add dev eth1 root handle 2: htb default 256 > > #### Client 1 > tc class add dev eth0 parent 1: classid 1:8 htb rate 16kbit ceil 16kbit > tc class add dev eth1 parent 2: classid 2:8 htb rate 64kbit ceil 64kbit > > iptables -t mangle -A FORWARD -s xxxx -d xxx -j MARK --set-mark 8 > > tc filter add dev eth0 protocol ip parent 1: prio 5 handle 8 fw classid 1:8 > tc filter add dev eth1 protocol ip parent 2: prio 5 handle 8 fw classid 2:8 > tc qdisc add dev eth0 parent 1:8 sfq perturb 10 > tc qdisc add dev eth1 parent 2:8 sfq perturb 10 > ### End of Client 1 > > We are around 30 more such rules. Ok. > This is a part of kernel.log Some more info can be foun on this page : http://luxik.cdi.cz/~devik/qos/htb/htbfaq.htm There is also a patch that you can apply. Stef -- stef.coene@xxxxxxxxx "Using Linux as bandwidth manager" http://www.docum.org/ #lartc @ irc.oftc.net