From: "frip" <frip@bigfoot.com>
To: lartc@vger.kernel.org
Subject: [LARTC] assertion failed with HTB
Date: Fri, 24 May 2002 22:42:25 +0000 [thread overview]
Message-ID: <marc-lartc-102228021230256@msgid-missing> (raw)
Hello,
I've built my 2.4.17 with HTB in order to control outgoing traffic for
p2p protocols.
Everything seems to be ok but I'm getting this error message in the
/var/log/messages:
May 25 00:31:25 plomboire kernel: KERNEL: assertion (delay > 0 && delay
< 5000000) failed at sch_htb.c(416):htb_add_to_wait_tree
Here is my starting script:
tc=tc.htb
if=ppp0
$tc qdisc del dev $if root
$tc qdisc add dev $if root handle 1: htb default 12
AC="$tc class add dev $if parent"
# root class
$AC 1: classid 1:1 htb rate 120kbit ceil 120kbit
# p2p class
$AC 1:1 classid 1:10 htb rate 30kbit ceil 40kbit
# p2p edk class
$AC 1:10 classid 1:110 htb rate 20kbit ceil 25kbit
# p2p dc class
$AC 1:10 classid 1:120 htb rate 20kbit ceil 25kbit
# default class
$AC 1:1 classid 1:12 htb rate 120kbit ceil 120kbit
# outgoing edk
$tc filter add dev $if protocol ip parent 1:0 prio 1 u32 match ip dport
4662 0xffff flowid 1:110
# outgoing dc
$tc filter add dev $if protocol ip parent 1:0 prio 1 u32 match ip dport
412 0xffff flowid 1:120
$tc qdisc add dev $if parent 1:110 handle 10: pfifo limit 5
$tc qdisc add dev $if parent 1:120 handle 20: pfifo limit 5
$tc qdisc add dev $if parent 1:12 handle 30: tbf rate 120kbit latency
50ms burst 1500
Any idea?
TIA!
Frip'
frip@bigfoot.com
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
next reply other threads:[~2002-05-24 22:42 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-05-24 22:42 frip [this message]
2002-05-24 23:16 ` [LARTC] assertion failed with HTB Nils Lichtenfeld
2002-05-25 8:11 ` Martin Devera
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=marc-lartc-102228021230256@msgid-missing \
--to=frip@bigfoot.com \
--cc=lartc@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.