[LARTC] HTB flooding my kernel logs
Hi I am trying to upgrade our systems with 2.4.20/HTB3 (before that I used 2.4.9 based kernel with HTB2 patch with no such problems). Since it booted the new kernel I get a lot of kernel messages that keeps klogd using CPU. Here is a sample: Jan 21 09:57:34 s kernel: KERNEL: assertion (cl cl-un.leaf.q-q.qlen) failed at sch_htb.c(959) Jan 21 09:58:05 s last message repeated 447911 times Jan 21 09:59:06 s last message repeated 879964 times Jan 21 10:00:07 s last message repeated 901413 times I can comment out that assertion from sources but what exactly does that warning mean ? Should I silently ignore it or do I need to fix it ? Also when I run our htb configuration script I get a lot of this kind of messages: Jan 21 09:50:15 s kernel: uantum of class 10056B is small. Consider r2q change .4HTB: quantum of class 100578 is small. Consider r2q change.4HTB: quantum o f class 100610 is small. Consider r2q change.4HTB: quantum of class 100622 is small. Consider r2q change.4HTB: quantum of class 100642 is small. Consider r2 q change.4HTB: quantum of class 10068B is small. Consider r2q change.4HTB: q uantum of class 10068C is small. Consider r2q change.4HTB: quantum of class 10 0732 is small. Consider r2q change.4HTB: quantum of class 10070B is small. Con sider r2q change.4HTB: quantum of class 10070C is small. Consider r2q change. 4HTB: quantum of class 10070D is small. Consider r2q change.4HTB: quantum of class 1006A6 is small. Consider r2q change.4HTB: quantum of class 1006B1 is sm all. Consider r2q change.4HTB: quantum of class 1006B2 is small. Consider r2q change.4HTB: quantum of class 1006C3 is small. Consider r2q change.4HTB: qua ntum of class 1006D5 is small. Consider r2q change.4HTB: quan Jan 21 09:50:33 s kernel: of class 1006D6 is small. Consider r2q change.4HTB : quantum of class 100725 is small. Consider r2q change.4HTB: quantum of class 10072A is small. Consider r2q change.4HTB: quantum of class 100737 is small. Consider r2q change.4HTB: quantum of class 100738 is small. Consider r2q chang e.4HTB: quantum of class 1011C8 is small. Consider r2q change.4HTB: quantum of class 1011C9 is small. Consider r2q change.4HTB: quantum of class 1011CA is small. Consider r2q change.4htb: class F00F10 isn't work conserving ?! and so on... What is wrong with the script ? Why doesnt HTB3 like it ? Thanks Mihai RUSU Disclaimer: Any views or opinions presented within this e-mail are solely those of the author and do not necessarily represent those of any company, unless otherwise specifically stated. ___ LARTC mailing list / [EMAIL PROTECTED] http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
Re[2]: [LARTC] u32: how to say all except z.x.y?
Hello Stef, How I can say all except z.x.y ? SC Use 2 filters : SC 1. all z.x.y to a class SC 2. all to an other class SC so the second filter matches all except x.y.z Ok. How it will be for ingress? It have only 1 class, haven't it? -- Best regards, Ray-Nger mailto:[EMAIL PROTECTED] ___ LARTC mailing list / [EMAIL PROTECTED] http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
Re: [LARTC] HTB flooding my kernel logs
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Mihai RUSU wrote: | Hi | | I am trying to upgrade our systems with 2.4.20/HTB3 (before that I used | 2.4.9 based kernel with HTB2 patch with no such problems). Since it booted | the new kernel I get a lot of kernel messages that keeps klogd using CPU. | | Here is a sample: | | Jan 21 09:57:34 s kernel: KERNEL: assertion (cl cl-un.leaf.q-q.qlen) failed at sch_htb.c(959) | Jan 21 09:58:05 s last message repeated 447911 times | Jan 21 09:59:06 s last message repeated 879964 times | Jan 21 10:00:07 s last message repeated 901413 times | | I can comment out that assertion from sources but what exactly does that | warning mean ? Should I silently ignore it or do I need to fix it ? | | Also when I run our htb configuration script I get a lot of this kind of | messages: | | Jan 21 09:50:15 s kernel: uantum of class 10056B is small. Consider r2q change | .4HTB: quantum of class 100578 is small. Consider r2q change.4HTB: quantum o | | and so on... | | What is wrong with the script ? Why doesnt HTB3 like it ? These messages appear because of too small rates or ceils for that classes (10:056B, 10:0578, ...). The implicit value for r2q is 10 and because of this the quantum value is too small. Consider r2q change it's a good ideea indeed ;-) You can take a look at devik's faq page, maybe it can help: http://luxik.cdi.cz/~devik/qos/htb/htbfaq.htm I don't know if that assertion has the same reason, I haven't noticed something like that in my logs. - -- Catalin Bucur mailto:[EMAIL PROTECTED] NOC @ Genius Network SRL - Galati - Romania -BEGIN PGP SIGNATURE- Version: GnuPG v1.0.6 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQE+LTU8pDe20wwI9oIRAo+HAJ90pY9n1oCHkxn4vT+JeTUtkr/3fwCffHlU uBMA2jrV0D1+P5moftwTjbA= =yiPG -END PGP SIGNATURE- ___ LARTC mailing list / [EMAIL PROTECTED] http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
Re: [LARTC] checksum update in TCP
On Mon, Jan 20, 2003 at 03:09:57PM +0100, devik wrote: Or imho even more probably, the problem could be the line. I've had a couple of these during last 3 years. Namely, is there a serial line (possibly wireless) involved? Yes it is. There is wireless net inbetween. But interestingly I have seen no other packet corruption except when communicating via FTP with concrete W2k user. He can FTP with others as I can too but can't between themselves. Also how could wireless link change data inside of a TCP packet ? Then checksum should become wrong and the packet rejected ... ? Yes, they should. What I had in mind was a data-dependent bug on a 2 Mbps wireless link that caused packets having alternate zero and one patterns in it (0x or 0x) to be dropped by the link and never seen by the receiver. Now, I'm not sure what the exact symptoms are of what you are solving. If your problem is that the TCP transmission completes successfully (i.e. everything's OK as far as TCP is concerned) but the data that came out of the pipe is different that the data that had been sent, that should be a different problem. I changed proftpd to compute and log MD5 of each chunk of data going out of read() syscall so I will be able to compare them to file on HDD (catching errors in FS, IDE (DMA) or HDD). Also in the same time I'll save tcpdump's raw packets to be able to compare stored data with packet contents (with 100MB ftp file it will be a lot of fun :-( ) Can you produce a binary diff of sent and received file to see how exactly they differ? Are the two files completely different? Or do they differ just in a couple of places? Is something missing? Is something changed? If so, how? That's how I managed to isolate some difficult data-dependent bugs, it might be useful here, too. pvl ___ LARTC mailing list / [EMAIL PROTECTED] http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
[LARTC] Newbie help needed after upgrade to mdk9.0
Hello! I recently upgraded my computer from Mandrake 8.2 to Mandrake 9.0. I used a very slightly modifed WonderShaper and it worked beautifully. But now when I try to run the same cbq shaping script on Mandrake 9.0 i get this output RTNETLINK answers: Invalid argument RTNETLINK answers: No such file or directory RTNETLINK answers: No such file or directory RTNETLINK answers: No such file or directory RTNETLINK answers: No such file or directory RTNETLINK answers: No such file or directory RTNETLINK answers: No such file or directory RTNETLINK answers: No such file or directory RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument Does anyone have some quick fix for me, or know what Mandrake might have changed to make it not work anymore, so I atleast will know where start looking? I also get the same output when I try to run the htb version of WonderShaper. /Kristoffer ___ LARTC mailing list / [EMAIL PROTECTED] http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
Re: [LARTC] Newbie help needed after upgrade to mdk9.0
On Tuesday 21 January 2003 17:09, Kristoffer Ekelund wrote: Hello! I recently upgraded my computer from Mandrake 8.2 to Mandrake 9.0. I used a very slightly modifed WonderShaper and it worked beautifully. But now when I try to run the same cbq shaping script on Mandrake 9.0 i get this output RTNETLINK answers: Invalid argument RTNETLINK answers: No such file or directory RTNETLINK answers: No such file or directory RTNETLINK answers: No such file or directory RTNETLINK answers: No such file or directory RTNETLINK answers: No such file or directory RTNETLINK answers: No such file or directory RTNETLINK answers: No such file or directory RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument Does anyone have some quick fix for me, or know what Mandrake might have changed to make it not work anymore, so I atleast will know where start looking? I also get the same output when I try to run the htb version of WonderShaper. I think your kernel has no qos support. Try to find the kernel configuration and see if it has all qos options enabled. Stef -- [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/
Re: [LARTC] HTB flooding my kernel logs
These messages appear because of too small rates or ceils for that classes (10:056B, 10:0578, ...). The implicit value for r2q is 10 and because of this the quantum value is too small. Consider r2q change it's a good ideea indeed ;-) You can take a look at devik's faq page, maybe it can help: http://luxik.cdi.cz/~devik/qos/htb/htbfaq.htm Or www.docum.org on the faq page. Stef -- [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/
Re: Re[2]: [LARTC] u32: how to say all except z.x.y?
On Tuesday 21 January 2003 11:19, ray-nger wrote: Hello Stef, How I can say all except z.x.y ? SC Use 2 filters : SC 1. all z.x.y to a class SC 2. all to an other class SC so the second filter matches all except x.y.z Ok. How it will be for ingress? It have only 1 class, haven't it? Yes. But the same trick can be used. I suppose you want to rate limit the packets coming from all except x.y.z. Then rate limit only filter 2. So all packets matched by the 1. filter can pass thru and all packets matched by the 2. filter are rate limited. Stef -- [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/
Re: [LARTC] Newbie help needed after upgrade to mdk9.0
On Tuesday 21 January 2003 17:09, Kristoffer Ekelund wrote: Hello! I recently upgraded my computer from Mandrake 8.2 to Mandrake 9.0. I used a very slightly modifed WonderShaper and it worked beautifully. But now when I try to run the same cbq shaping script on Mandrake 9.0 i get this output Sorry to bother you all, but I solved it by getting the tc binary of www.docum.org... seems Mandrake has changed the tc they ship somehow /Kristoffer ___ LARTC mailing list / [EMAIL PROTECTED] http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
[LARTC] tools for traffic monitoring
Hi all, are there any tools (besides ntop) which you guys use to monitor traffic, service by service? mrtg is not enough, I want something that can show me traffic on a service by service basis, and from/to which host. I guess ntop is quite complete in this area, but is there anything else? Thanks ___ LARTC mailing list / [EMAIL PROTECTED] http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
RE: [LARTC] tools for traffic monitoring
I really like iptraf (http://iptraf.seul.org/). Simple, very convenient for real-time stats. -Original Message- From: Andreas Hasenack [mailto:[EMAIL PROTECTED]] Sent: January 21, 2003 1:24 PM To: [EMAIL PROTECTED] Subject: [LARTC] tools for traffic monitoring Hi all, are there any tools (besides ntop) which you guys use to monitor traffic, service by service? mrtg is not enough, I want something that can show me traffic on a service by service basis, and from/to which host. I guess ntop is quite complete in this area, but is there anything else? Thanks ___ 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/
RE: [LARTC] tools for traffic monitoring
Check out http://wipl-wrr.sourceforge.net/wipl.html -- Morten Isaksen [EMAIL PROTECTED] - http://www.aub.dk/~misak -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of Andreas Hasenack Sent: 21. januar 2003 19:24 To: [EMAIL PROTECTED] Subject: [LARTC] tools for traffic monitoring Hi all, are there any tools (besides ntop) which you guys use to monitor traffic, service by service? mrtg is not enough, I want something that can show me traffic on a service by service basis, and from/to which host. I guess ntop is quite complete in this area, but is there anything else? Thanks ___ 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/
[LARTC] how to determine tcp rate classifying packet info
hello everybody need help how should i control the tcp rate, is it possible? also, suppose i have 2 database tables : 1) one for online accounting 2) one for online sales updating now both of these transactions which will update my SQL server databse will be on the same port number how can i classify these packets so that i can give high bandwidth highest prio to type 2 packets. 10x in advance. ganesh.Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now
[LARTC] HTB tests
Some time ago I promised to document some of my burst test. So I did : http://www.docum.org/stef.coene/qos/tests/htb/burst/ I'm still working on it. So expect some updates while you are reading it :) Stef -- [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/
Re: [LARTC] how to determine tcp rate classifying packet info
On Tuesday 21 January 2003 21:43, ganesh palwe wrote: hello everybody need help how should i control the tcp rate, is it possible? It's possible www.lartc.org www.docum.org also, suppose i have 2 database tables : 1) one for online accounting 2) one for online sales updating now both of these transactions which will update my SQL server databse will be on the same port number how can i classify these packets so that i can give high bandwidth highest prio to type 2 packets. What if you the iptables helper that can match packet with a string in it? I think the select is unique so you can see the difference. Once you can recognise the packets, you can mark them with iptables. That mark can be used to put the packets in differenct classes so you can configure different rates for the packets. But this will suck if you select statement is too big for one packet. Stef -- [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/
Re: [LARTC] how to determine tcp rate classifying packet info
hello everybody need help how should i control the tcp rate, is it possible? It's possiblewww.lartc.orgwww.docum.org also, suppose i have 2 database tables : 1) one for online accounting 2) one for online sales updating now both of these transactions which will update my SQL server databse will be on the same port number how can i classify these packets so that i can give high bandwidth highest prio to type 2 packets.What if you the iptables helper that can match packet with a string in it? I think the select is unique so you can see the difference. Once you can recognise the packets, you can mark them with iptables. That mark can be used to put the packets in differenct classes so you can configure different rates for the packets.But this will suck if you select statement is too big for one packet.Stef-- still needing help ! i m very sorry to say that i hardly have got any useful stuff regarding controlling tcp rate, rather packeteer information was good (TCP Rate Control - byShrikrishna Karandikar). what i want to do is everytime i want to establish a connection with any server(say X-server ) on the basis that X should send me data at agreed upon rate, the rate should not increase beyond that value. can i implement it? if yes where can i find information? Ok,next was for classifying packet by making use of marking what if i m using u32 classifier instead of fw. is there utility with u32 tomark packets. also, what i think is that, classifiers will come into the picture after the connection establishment, so how could they differentiate 2 different type applications for same service? 10x in advance ganesh. Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now
Re: [LARTC] HTB tests
On Tue, 21 Jan 2003 21:46:23 +0100 Stef Coene [EMAIL PROTECTED] wrote Some time ago I promised to document some of my burst test. So I did : http://www.docum.org/stef.coene/qos/tests/htb/burst/ I'm still working on it. So expect some updates while you are reading it :) Good tests! Answers some of the questions I had... --- Homer Parker /\ ASCII Ribbon Campaign \ / No HTML/RTF in email http://www.homershut.net x No Word docs in email telnet://bbs.homershut.net/ \ Respect for open standards This e-mail message is 100% Microsoft free! WARNING: THIS ACCOUNT BELONGS TO A RABID ANTI-SPAMMER NET-NAZI DOT-COMMUNIST!! msg03741/pgp0.pgp Description: PGP signature