All of lore.kernel.org
 help / color / mirror / Atom feed
* [LARTC] modified wondershaper script causes hardlock in server
@ 2004-05-30 19:21 Morten Nilsen
  2004-05-31  0:41 ` Damion de Soto
  2004-05-31 10:08 ` Morten Nilsen
  0 siblings, 2 replies; 3+ messages in thread
From: Morten Nilsen @ 2004-05-30 19:21 UTC (permalink / raw)
  To: lartc

[-- Attachment #1: Type: text/plain, Size: 803 bytes --]

Hi, I've modified my copy of the wondershaper script to add a few
filters that allow traffic to and from a few specific ips go through
with a speed of up to 100Mbits...

I increased the root from 10 to 100mbit, and added this bit of code a
bit further down the script;

# Real time hosts
for i in 62.101.244.63/32 216.74.158.11/32 216.74.158.3/32
216.74.158.57/32; do
  tc filter add dev $DEV parent 1:0 protocol ip prio 1 u32 match ip src
$i flowid 1:0
  tc filter add dev $DEV parent 1:0 protocol ip prio 1 u32 match ip dst
$i flowid 1:0
done

but after using this modified script, the server would at random
intervals cease to function, not answering ping, not showing anything in
the console. No pertinent log entries were made at the time either.

Am I doing something stupid with this?
-- 
Morten

[-- Attachment #2: S/MIME Cryptographic Signature --]
[-- Type: application/x-pkcs7-signature, Size: 3170 bytes --]

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

* Re: [LARTC] modified wondershaper script causes hardlock in server
  2004-05-30 19:21 [LARTC] modified wondershaper script causes hardlock in server Morten Nilsen
@ 2004-05-31  0:41 ` Damion de Soto
  2004-05-31 10:08 ` Morten Nilsen
  1 sibling, 0 replies; 3+ messages in thread
From: Damion de Soto @ 2004-05-31  0:41 UTC (permalink / raw)
  To: lartc

Hi Morten,
> but after using this modified script, the server would at random
> intervals cease to function, not answering ping, not showing anything in
> the console. No pertinent log entries were made at the time either.
You mean the console would be locked up and not responding ?
Or did you mean you just couldn't find any network errors/logs on the console ?

If it's locked up completely without a kernel panic or any other kind of error 
logged, I would tend to suspect a hardware problem.

Regards,

-- 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Damion de Soto - Software Engineer  email:     damion@snapgear.com
SnapGear - A CyberGuard Company ---    ph:         +61 7 3435 2809
  | Custom Embedded Solutions          fax:         +61 7 3891 3630
  | and Security Appliances            web: http://www.snapgear.com
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  ---  Free Embedded Linux Distro at   http://www.snapgear.org  ---
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

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

* Re: [LARTC] modified wondershaper script causes hardlock in server
  2004-05-30 19:21 [LARTC] modified wondershaper script causes hardlock in server Morten Nilsen
  2004-05-31  0:41 ` Damion de Soto
@ 2004-05-31 10:08 ` Morten Nilsen
  1 sibling, 0 replies; 3+ messages in thread
From: Morten Nilsen @ 2004-05-31 10:08 UTC (permalink / raw)
  To: lartc

[-- Attachment #1: Type: text/plain, Size: 945 bytes --]

Damion de Soto wrote:
> Hi Morten,
>> but after using this modified script, the server would at random
>> intervals cease to function, not answering ping, not showing anything in
>> the console. No pertinent log entries were made at the time either.
> You mean the console would be locked up and not responding ?
> Or did you mean you just couldn't find any network errors/logs on the console ?
> 
> If it's locked up completely without a kernel panic or any other kind of error 
> logged, I would tend to suspect a hardware problem.

complete hardlock

I did suspect hardware too, but when I moved the harddrive to another
box, the problem followed over..

I did move the two rtl8139 adapters too, and after a couple hardlocks,
removed one of them and used the integrated controller instead. That
seemed to fix it, but the next day it started locking all over again.

If I don't use wondershaper, the system is 100% stable.

Cheers,
-- 
Morten

[-- Attachment #2: S/MIME Cryptographic Signature --]
[-- Type: application/x-pkcs7-signature, Size: 3170 bytes --]

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

end of thread, other threads:[~2004-05-31 10:08 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-05-30 19:21 [LARTC] modified wondershaper script causes hardlock in server Morten Nilsen
2004-05-31  0:41 ` Damion de Soto
2004-05-31 10:08 ` Morten Nilsen

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.