Skip to contentSkip to conversation

HTB tree is too deep

LARTC Marco C. Coelho 2 participants 3 messages Aug 16, 2007 – Aug 22, 2007

lore
Share & tools
lore
#1 lore raw

I've got a linux (2.6.18-8.1.6.el5.centos.plus) router doing pppoe termination and HTB rate limiting.

the number of connections has grown quite a bit in the last few months, and I'm now getting a:

HTB tree is too deep

message on the monitor.

where is the setting for max depth?

_______________________________________________
LARTC mailing list
[email protected]
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

_______________________________________________
LARTC mailing list
[email protected]
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

#2 lore raw
In reply to Marco C. Coelho
Quoted 11 lines · Marco C. Coelho

I've got a linux (2.6.18-8.1.6.el5.centos.plus) router doing pppoe termination and HTB rate limiting.

the number of connections has grown quite a bit in the last few months, and I'm now getting a:

HTB tree is too deep

message on the monitor.

where is the setting for max depth?

There is a define in both the kernel and iproute2's copy of the headers
- I don't know if you need to do both and recompile both kernel and tc.

include/linux/pkt_sched.h:#define TC_HTB_MAXDEPTH 8

Andy.
_______________________________________________
LARTC mailing list
[email protected]
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc