[LARTC] HTB debug info in kernel log

Linux Advanced Routing and Traffic Control

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thursday 13 February 2003 10:34, Brad Davidson wrote:
> On Thu, 13 Feb 2003 at 00:41:54, Stef Coene wrote:
> > On Thursday 13 February 2003 08:10, Brad Davidson wrote:
> > I had the same problem.  I uncomment the DEFINE statement.  But logging
> > there numbers, means there is something miss with your htb setup and has
> > nothing to do with you asking for statistics.  You can find more info on
> > the homepage of htb.  But it's possible that your rates settings are too
> > low.
> >
> > Stef
>
> I used htb.init (http://freshmeat.net/projects/htb.init/) to make my rules,
> so I'm pretty sure they should be OK.
But still you can configure a class with a too low rate.

> I'm looking at the code in htb_dump, which appears to be what's called to
> get statistics information by the tc application. It looks to me like if
> you have debug enabled, as part of the stats collecting routine, it calls
> htb_debug_dump regardless of whether or not there's anything wrong with
> your setup.
>
> There are other circumstances that it prints an error message followed by a
> debug dump, but I'm not seeing an error. It just looks to me like debug
> info is printed every time a queue is polled for stats info.
>
> If you want to take a look at what I'm talking about, check out line 1211
> of sch_htb.c
Devik?  Debug problems?

Stef

-- 

stef.coene@docum.org
 "Using Linux as bandwidth manager"
     http://www.docum.org/
     #lartc @ irc.oftc.net



[Index of Archives]     [LARTC Home Page]     [Netfilter]     [Netfilter Development]     [Network Development]     [Bugtraq]     [GCC Help]     [Yosemite News]     [Linux Kernel]     [Fedora Users]
  Powered by Linux