Skip to contentSkip to conversation

HTB Kernel log (cl && cl->un.leaf.q->q.qlen)

LARTC David Watson 3 participants 9 messages Jun 18, 2003 – Jul 3, 2003

lore
Share & tools
lore
#0 lore raw

Hello,
I delete and recreate my root HTB qdiscs every minute as part of my rdd
logging.

From archive this seems to have come up a couple of times before although
I dont see a resolution on the list, any advice on how I can find out what the problem is?

Thanks

I get the following errors logged:

Jun 18 12:15:01 hostname kernel: HTB init, kernel part version 3.7
Jun 18 12:15:01 hostname kernel: KERNEL: assertion (cl && 
cl->un.leaf.q->q.qlen) failed at sch_htb.c(959)
Jun 18 12:15:02 hostname last message repeated 14 times
Jun 18 12:15:02 hostname kernel: HTB init, kernel part version 3.7
Jun 18 12:15:02 hostname kernel: KERNEL: assertion (cl && 
cl->un.leaf.q->q.qlen) failed at sch_htb.c(959)
Jun 18 12:15:02 hostname last message repeated 15 times
Jun 18 12:15:03 hostname kernel: HTB init, kernel part version 3.7
Jun 18 12:16:00 hostname kernel: HTB init, kernel part version 3.7
Jun 18 12:16:01 hostname last message repeated 3 times
Jun 18 12:16:06 hostname kernel: KERNEL: assertion (cl && 
cl->un.leaf.q->q.qlen) failed at sch_htb.c(959)
Jun 18 12:16:06 hostname kernel: htb: class 10029 isn't work conserving ?!
Jun 18 12:16:06 hostname kernel: KERNEL: assertion (cl && 
cl->un.leaf.q->q.qlen) failed at sch_htb.c(959)
Jun 18 12:16:37 hostname last message repeated 433 times

_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

#1 lore raw
Quoted 3 lines · David Watson

Hello,
I delete and recreate my root HTB qdiscs every minute as part of my rdd
logging.

Why????? That's not needed.

Stef

Signature · 8 lines
[email protected]
 "Using Linux as bandwidth manager"
     http://www.docum.org/
     #lartc @ irc.oftc.net

_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
#2 lore raw
In reply to David Watson
Quoted 6 lines · Stef Coene
Quoted 3 lines · David Watson

Çello,
I delete and recreate my root HTB qdiscs every minute as part of my rdd logging.

Why????? That's not needed.

Never mind that. The most important issue here is that when you delete your queues, any packet that happens to pass through them at that time, are LOST!

- Giannis Stoilis.

_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

#3 lore raw
In reply to David Watson
Quoted 11 lines · Giannis Stoilis
Quoted 6 lines · Stef Coene
Quoted 3 lines · David Watson

Çello,
I delete and recreate my root HTB qdiscs every minute as part of my rdd logging.

Why????? That's not needed.

Never mind that. The most important issue here is that when you delete your queues, any packet that happens to pass through them at that time, are LOST!

Are you sure? I never tested it.

Stef

Signature · 8 lines
[email protected]
 "Using Linux as bandwidth manager"
     http://www.docum.org/
     #lartc @ irc.oftc.net

_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
#4 lore raw
In reply to David Watson
Quoted 6 lines · Stef Coene
Quoted 3 lines · Giannis Stoilis

Never mind that. The most important issue here is that when you delete your queues, any packet that happens to pass through them at that time, are LOST!

Are you sure? I never tested it.

This is how I know it:
I constantly ping my linux server from another pc. At some poing I delete and recreate my queues. From the pc that pings my linux server, I can see the replies coming, and at the point of the restart I have missed pinging replies and at the point after the qdisc creation, I can see the icmp replies coming back again.
Either every packet is lost at qdisc removal, or something else, same as nasty, is happening...
You should try it and see...
Also, if you have monitor_tc running at that time, you can see it dump some nice negative values...

- Giannis

_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

#5 lore raw
In reply to David Watson
Quoted 8 lines · Giannis Stoilis
Quoted 6 lines · Stef Coene
Quoted 3 lines · Giannis Stoilis

Never mind that. The most important issue here is that when you delete your queues, any packet that happens to pass through them at that time, are LOST!

Are you sure? I never tested it.

Quoted 11 lines

This is how I know it:
I constantly ping my linux server from another pc. At some poing I delete and recreate my queues. From the pc that pings my linux server, I can see the replies coming, and at the point of the restart I have missed pinging replies and at the point after the qdisc creation, I can see the icmp replies coming back again.
Either every packet is lost at qdisc removal, or something else, same as nasty, is happening...
You should try it and see...
Also, if you have monitor_tc running at that time, you can see it dump some nice negative values...

:)
That's because the counters are resetten so the values are negative at that time. But that will not say are packets are gone. However, your ping test proves it.

Stef

Signature · 8 lines
[email protected]
 "Using Linux as bandwidth manager"
     http://www.docum.org/
     #lartc @ irc.oftc.net

_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
#6 lore raw
In reply to David Watson

I was recreating the qdiscs so that changes would be picked up
automatically and not disturb the rrdtool generation, I've switched to a counter and cut out the resets.

I did do a lot of ping tests and cannot replicate losing packets
however.

Thanks

Quoted 29 lines · you
Quoted 8 lines · Giannis Stoilis
Quoted 6 lines · Stef Coene
Quoted 3 lines · Giannis Stoilis

Never mind that. The most important issue here is that when you delete your queues, any packet that happens to pass through them at that time, are LOST!

Are you sure? I never tested it.

Quoted 11 lines

This is how I know it:
I constantly ping my linux server from another pc. At some poing I delete and recreate my queues. From the pc that pings my linux server, I can see the replies coming, and at the point of the restart I have missed pinging replies and at the point after the qdisc creation, I can see the icmp replies coming back again.
Either every packet is lost at qdisc removal, or something else, same as nasty, is happening...
You should try it and see...
Also, if you have monitor_tc running at that time, you can see it dump some nice negative values...

:)
That's because the counters are resetten so the values are negative at that time. But that will not say are packets are gone. However, your ping test proves it.

Stef

--

Quoted 8 lines

[email protected]
"Using Linux as bandwidth manager"
http://www.docum.org/
#lartc @ irc.oftc.net

_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

#8 lore raw
In reply to David Watson
Quoted 5 lines · On Thursday 03 July 2003 13:14, [email protected] wrote:

yes I think it depends on traffic...
but why this?
PS
1) http://qos.dyndns.org:3389/cgi-bin/fom?file@ what should I use on my K6 ??? default it's PSCHED_JIFFIES, i think!!

I'm not sure but if you do cat /proc/cpuinfo, do you seetsc in the flags? I think that means your cpu has a timestamp counter.

Quoted 2 lines

2) http://qos.dyndns.org:3389/cgi-bin/fom?fileV those filter destroy patches are applyed in 2.4.21 ??

Yes.

Quoted 3 lines

3) http://qos.dyndns.org:3389/cgi-bin/fom?file! What SFQ latency should I use?
SFQ qdisc has a default queue length of 128 packets!!!!

Try the default sfq and see if that's enough. If not, you can try to change the queue depth.

Stef

Signature · 8 lines
[email protected]
 "Using Linux as bandwidth manager"
     http://www.docum.org/
     #lartc @ irc.oftc.net

_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/