Skip to contentSkip to conversation

kernel freeze after cbq startup

LARTC Marek Greško 4 participants 6 messages Feb 8, 2001 – Feb 11, 2001

lore
Share & tools
lore
#0 lore raw

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

#1 lore raw

<PRE>On Thu, 8 Feb 2001, Marek [iso-8859-2] Gre¹ko wrote:

&gt;<i> Hello,
</I>&gt;<i>
</I>&gt;<i> I want to ask what am I doing wrong. A few seconds after running this scr</I>ipt &gt;<i> my gateway freezes. I use the 2.4.1 kernel compiled on RH 7.0 system usin</I>g &gt;<i> the kgcc (egcs-1.1.2) compiler.
</I>&gt;<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>

#2 lore raw
In reply to Marek Greško

<PRE>On Fri, Feb 09, 2001 at 04:03:08PM +0100, Adrian wrote:

&gt;<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>
#3 lore raw
In reply to Marek Greško

<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.

&gt;<i> &gt; I want to ask what am I doing wrong. A few seconds after running this </I>&gt;<i> &gt; script my gateway freezes. I use the 2.4.1 kernel compiled on RH 7.0 </I>&gt;<i> &gt; system using the kgcc (egcs-1.1.2) compiler.
</I>&gt;<i>
</I>&gt;<i> Hi. I have the same problem, some seconds after activating cbq, the ser</I>ver &gt;<i> hangs and I have to power off and boot... :(.
</I>
Thank you
Marek Gresko

</PRE>

#4 lore raw
In reply to Marek Greško

<PRE>On Fri, 9 Feb 2001, Marek [iso-8859-2] Gre¹ko wrote:

&gt;<i> Hi all,
</I>&gt;<i>
</I>&gt;<i> I have solved my problem with kernel freeze. I was using flowid 20:0 inst</I>ead &gt;<i> of 20:1. Also I have rewritten the script. But now, I have to look at it,</I> &gt;<i> because it doesn't shape anything:)
</I>&gt;<i>
</I>&gt;<i> If I will not find the bug I'll post it there.
</I>&gt;<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>

#5 lore raw
In reply to Marek Greško

<PRE>Hi,

&gt;<i> I've solved too :). I wrote to the WRR programmer and he's fixed the </I>&gt;<i> problem in the source code, now it runs perfect :). I think he'll </I>update &gt;<i> the WRR distribution to a new version in short...
</I>
Yes, he has done that now ;-)

Christian (author of wrr)

</PRE>