All of lore.kernel.org
 help / color / mirror / Atom feed
* [LARTC] kernel freeze after cbq startup
@ 2001-02-08 18:06 
  2001-02-09 15:03 ` Adrian
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From:  @ 2001-02-08 18:06 UTC (permalink / raw)
  To: lartc

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset="iso-8859-2", Size: 773 bytes --]

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

[-- Attachment #2: &quot --]
[-- Type: application/x-shellscript, Size: 4260 bytes --]

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #3: &quot --]
[-- Type: text/plain; charset="iso-8859-2"; name="cbq-classes", Size: 101 bytes --]

bounded 4Kbit 195.168.47.167
none 4Kbit 195.168.47.245 195.168.47.246
none 56Kbit 195.168.47.128/25


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [LARTC] kernel freeze after cbq startup
  2001-02-08 18:06 [LARTC] kernel freeze after cbq startup 
@ 2001-02-09 15:03 ` Adrian
  2001-02-09 16:00 ` bert
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: Adrian @ 2001-02-09 15:03 UTC (permalink / raw)
  To: lartc

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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [LARTC] kernel freeze after cbq startup
  2001-02-08 18:06 [LARTC] kernel freeze after cbq startup 
  2001-02-09 15:03 ` Adrian
@ 2001-02-09 16:00 ` bert
  2001-02-09 19:54 ` 
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: bert @ 2001-02-09 16:00 UTC (permalink / raw)
  To: lartc

<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

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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [LARTC] kernel freeze after cbq startup
  2001-02-08 18:06 [LARTC] kernel freeze after cbq startup 
  2001-02-09 15:03 ` Adrian
  2001-02-09 16:00 ` bert
@ 2001-02-09 19:54 ` 
  2001-02-10 12:13 ` Adrian
  2001-02-11  3:42 ` Christian
  4 siblings, 0 replies; 6+ messages in thread
From:  @ 2001-02-09 19:54 UTC (permalink / raw)
  To: lartc

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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [LARTC] kernel freeze after cbq startup
  2001-02-08 18:06 [LARTC] kernel freeze after cbq startup 
                   ` (2 preceding siblings ...)
  2001-02-09 19:54 ` 
@ 2001-02-10 12:13 ` Adrian
  2001-02-11  3:42 ` Christian
  4 siblings, 0 replies; 6+ messages in thread
From: Adrian @ 2001-02-10 12:13 UTC (permalink / raw)
  To: lartc

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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [LARTC] kernel freeze after cbq startup
  2001-02-08 18:06 [LARTC] kernel freeze after cbq startup 
                   ` (3 preceding siblings ...)
  2001-02-10 12:13 ` Adrian
@ 2001-02-11  3:42 ` Christian
  4 siblings, 0 replies; 6+ messages in thread
From: Christian @ 2001-02-11  3:42 UTC (permalink / raw)
  To: lartc

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

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2001-02-11  3:42 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-02-08 18:06 [LARTC] kernel freeze after cbq startup 
2001-02-09 15:03 ` Adrian
2001-02-09 16:00 ` bert
2001-02-09 19:54 ` 
2001-02-10 12:13 ` Adrian
2001-02-11  3:42 ` Christian

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.