kernel freeze after cbq startup
Hello,
I want to ask what am I doing wrong. A few seconds after running this script my gateway freezes. I use the 2.4.1 kernel compiled on RH 7.0 system using the kgcc (egcs-1.1.2) compiler.
I have two ethernet cards. The Internet interface eth1 is connected to the ISP, who shapes out traffic to 128Kbit. I would like to give the high priority to the e-mail and ssh traffic and to shape others by definitions in the cbq-classes file. Also I would like to shape ICMP traffic and SYN segments.
I have also another problem. I use the ingress policer exactly like the 2.4 routing HOWTO says for incoming SYN flood prevention. After using ingress all the SYN traffic to my machine is disabled.
If you could be so glad and help me, please.
Marek
bounded 4Kbit 195.168.47.167
none 4Kbit 195.168.47.245 195.168.47.246
none 56Kbit 195.168.47.128/25
Adrian [email protected]
<PRE>On Thu, 8 Feb 2001, Marek [iso-8859-2] Gre¹ko wrote:
><i> Hello,
</I>><i>
</I>><i> I want to ask what am I doing wrong. A few seconds after running this scr</I>ipt ><i> my gateway freezes. I use the 2.4.1 kernel compiled on RH 7.0 system usin</I>g ><i> the kgcc (egcs-1.1.2) compiler.
</I>><i>
</I>
Hi. I have the same problem, some seconds after activating cbq, the server hangs and I have to power off and boot... :(.
I'm using WRR queue (needs kernel source modification). I've tried the simpler configuration I can think of, that is the following, but system freezes too:
tc qdisc add dev eth0 root wrr dest ip 500 0 pf1=0 pf2=0
Someone knows how to avoid the kernel freezing? I'm using kernel 2.2.18 on RedHat 6.2
Adrián
</PRE>
bert hubert [email protected]
<PRE>On Fri, Feb 09, 2001 at 04:03:08PM +0100, Adrian wrote:
><i> I'm using WRR queue (needs kernel source modification). I've tried the </I>
This means that not too many people have tried or tested the patch for correctness.
Regards,
bert
Signature · 6 lines
<A HREF="http://www.PowerDNS.com">http://www.PowerDNS.com</A> Versatile DNS Services Trilab The Technology People 'SYN! .. SYN|ACK! .. ACK!' - the mating call of the internet </PRE>
<PRE>Hi all,
I have solved my problem with kernel freeze. I was using flowid 20:0 instead of 20:1. Also I have rewritten the script. But now, I have to look at it, because it doesn't shape anything:)
If I will not find the bug I'll post it there.
><i> > I want to ask what am I doing wrong. A few seconds after running this </I>><i> > script my gateway freezes. I use the 2.4.1 kernel compiled on RH 7.0 </I>><i> > system using the kgcc (egcs-1.1.2) compiler.
</I>><i>
</I>><i> Hi. I have the same problem, some seconds after activating cbq, the ser</I>ver ><i> hangs and I have to power off and boot... :(.
</I>
Thank you
Marek Gresko
</PRE>
Adrian [email protected]
<PRE>On Fri, 9 Feb 2001, Marek [iso-8859-2] Gre¹ko wrote:
><i> Hi all,
</I>><i>
</I>><i> I have solved my problem with kernel freeze. I was using flowid 20:0 inst</I>ead ><i> of 20:1. Also I have rewritten the script. But now, I have to look at it,</I> ><i> because it doesn't shape anything:)
</I>><i>
</I>><i> If I will not find the bug I'll post it there.
</I>><i>
</I>
I've solved too :). I wrote to the WRR programmer and he's fixed the
problem in the source code, now it runs perfect :). I think he'll update
the WRR distribution to a new version in short...
Now I have a problem with the filters :(. I'm going to post in a separate thread... Tnx 4 all
Adrián
</PRE>
Christian Worm Mortensen [email protected]
<PRE>Hi,
><i> I've solved too :). I wrote to the WRR programmer and he's fixed the </I>><i> problem in the source code, now it runs perfect :). I think he'll </I>update ><i> the WRR distribution to a new version in short...
</I>
Yes, he has done that now ;-)
Christian (author of wrr)
</PRE>