From: Andy Furniss Date: Wed, 22 Aug 2007 19:23:55 +0000 Subject: Re: [LARTC] HTB tree is too deep Message-Id: <46CC8D4B.5020705@andyfurniss.entadsl.com> List-Id: References: <46C47905.1050201@argontech.net> In-Reply-To: <46C47905.1050201@argontech.net> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: lartc@vger.kernel.org Marco C. Coelho wrote: > 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 LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc