From: jayesh rathod Date: Tue, 27 Jan 2004 06:20:26 +0000 Subject: Re: [LARTC] 1000's of classes and filters Message-Id: <1075186226.40160a32c8c2e@webmail1.maa.sify.net> List-Id: References: <1074950866.401272d23b136@smwp01.maa.sify.net> In-Reply-To: <1074950866.401272d23b136@smwp01.maa.sify.net> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable To: lartc@vger.kernel.org Hi , Let me rephrase my problem with more details and some history. We are running an application on a system which does NAT'ting and shaping. = TC and iptable rules are added and deleted at runtime. A TC rule will be, tc class add dev eth1 parent 1:1 classid 1:5001 htb rate 256kbit ceil 256kb= it tc filter add dev eth1 protocol ip parent 1:0 prio 1 u32 match ip src 10.1= .1.1 match ip flowid 1:5001=20 At peak some 700 to 800 such rules will be present. Same rules for the other inteface. Deleting a rule is flush out all the rul= es and reapply :) ( handler could have been used to delete a particular rul= e, but we have not yet upgraded ) We had ext3 filesystem installed at he beginning. But regularly the box wou= ld go down with a kernel panic. The stack trace when this occured is attach= ed. We then moved to resiserfs filesystem. This time although there was no kern= el panic, the box hanged =20 with junk messages printed in all our application logs. The box doesnt even= respond on the console. Hard reboot is the only thing we can do.=20 Pls find all the details given below. Any suggestions/solutions are welcome. Regards Jayesh System details :=20 Kernel version : 2.4.23 HTB init, kernel part version 3.13 SCSI Adaptec storage controllers 1 GB RAM lspci ----------- 00:00.0 Host bridge: Intel Corp.: Unknown device 254c (rev 01) 00:02.0 PCI bridge: Intel Corp. e7500 HI_B Virtual PCI-to-PCI Bridge (F0) (= rev 01) 00:1d.0 USB Controller: Intel Corp. 82801CA/CAM USB (Hub (rev 02) 00:1e.0 PCI bridge: Intel Corp. 82801BA/CA PCI Bridge (rev 42) 00:1f.0 ISA bridge: Intel Corp. 82801CA ISA Bridge (LPC) (rev 02) 00:1f.1 IDE interface: Intel Corp. 82801CA IDE U100 (rev 02) 00:1f.3 SMBus: Intel Corp. 82801CA/CAM SMBus (rev 02) 01:02.0 VGA compatible controller: ATI Technologies Inc Rage XL (rev 27) 02:1c.0 PIC: Intel Corp. 82870P2 P64H2 I/OxAPIC (rev 04) 02:1d.0 PCI bridge: Intel Corp. 82870P2 P64H2 Hub PCI Bridge (rev 04) 02:1e.0 PIC: Intel Corp. 82870P2 P64H2 I/OxAPIC (rev 04) 02:1f.0 PCI bridge: Intel Corp. 82870P2 P64H2 Hub PCI Bridge (rev 04) 03:01.0 Ethernet controller: Intel Corp. 82557/8/9 [Ethernet Pro 100] (rev = 08) 03:02.0 Ethernet controller: Intel Corp. 82557/8/9 [Ethernet Pro 100] (rev = 08) 04:01.0 Ethernet controller: Intel Corp.: Unknown device 100f (rev 01) 04:04.0 SCSI storage controller: Adaptec: Unknown device 801f (rev 03) 04:04.1 SCSI storage controller: Adaptec: Unknown device 801f (rev 03) Ksymoops output with ext3 filesystem ----------------------------- Dec 21 06:57:02 theseus kernel: kernel BUG at checkpoint.c:587! Dec 21 06:57:02 theseus kernel: invalid operand: 0000 Dec 21 06:57:02 theseus kernel: CPU: 0 Dec 21 06:57:02 theseus kernel: EIP: 0010:[] Not tainted Using defaults from ksymoops -t elf32-i386 -a i386 Dec 21 06:57:02 theseus kernel: EFLAGS: 00010292 Dec 21 06:57:02 theseus kernel: eax: 00000069 ebx: f6c46660 ecx: ffffff= fe edx: 00000000 Dec 21 06:57:02 theseus kernel: esi: f7ecc660 edi: f6c46660 ebp: e03fdc= 10 esp: f7de9e1c Dec 21 06:57:02 theseus kernel: ds: 0018 es: 0018 ss: 0018 Dec 21 06:57:02 theseus kernel: Process kjournald (pid: 11, stackpage=F7de9= 000) Dec 21 06:57:02 theseus kernel: Stack: c0257500 c02558c6 c025583d 0000024b = c02558a9 f6c46660 c0166173 f7ecc660 Dec 21 06:57:02 theseus kernel: f6c46660 cd59ce60 e03fdc10 c0165b6f = e03fdc10 e03fdc10 c01660fb e03fdc10 Dec 21 06:57:02 theseus kernel: 00000012 f19f0540 f19f0540 f19f0d40 = f7ecc660 00000000 f7ecc660 c01643ef Dec 21 06:57:02 theseus kernel: Call Trace: [] [] [<= c01660fb>] [] [] Dec 21 06:57:02 theseus kernel: [] [] [] [<= c01142c3>] [] [] Dec 21 06:57:02 theseus kernel: [] [] Dec 21 06:57:02 theseus kernel: Code: 0f 0b 4b 02 3d 58 25 c0 83 c4 14 8b 5= 3 1c 85 d2 74 29 68 a0 >>EIP; c01662ec <__journal_drop_transaction+5c/282> <=3D=3DTrace; c016617= 3 <__journal_remove_checkpoint+53/80> Trace; c0165b6f <__try_to_free_cp_buf+1f/40> Trace; c01660fb <__journal_clean_checkpoint_list+5b/80> Trace; c01643ef Trace; c020036c Trace; c0109cea Trace; c011a94b Trace; c0109e9c Trace; c01142c3 Trace; c0166e26 Trace; c0166d00 Trace; c0107136 Trace; c0166d20 Code; c01662ec <__journal_drop_transaction+5c/282> 00000000 <_EIP>: Code; c01662ec <__journal_drop_transaction+5c/282> <=3D=3D 0: 0f 0b = ud2a <=3D=3DCode; c01662ee <__journal_drop_transa= ction+5e/282> 2: 4b dec %ebx Code; c01662ef <__journal_drop_transaction+5f/282> 3: 02 3d 58 25 c0 83 add 0x83c02558,%bh Code; c01662f5 <__journal_drop_transaction+65/282> 9: c4 14 8b les (%ebx,%ecx,4),%edx Code; c01662f8 <__journal_drop_transaction+68/282> c: 53 push %ebx Code; c01662f9 <__journal_drop_transaction+69/282> d: 1c 85 sbb $0x85,%al Code; c01662fb <__journal_drop_transaction+6b/282> f: d2 (bad) Code; c01662fc <__journal_drop_transaction+6c/282> 10: 74 29 je 3b <_EIP+0x3b> c0166327 <__journal= _drop_transaction+97/282> Code; c01662fe <__journal_drop_transaction+6e/282> 12: 68 a0 00 00 00 push $0xa0 =20 ------------------------------------------------- Still single? Click here to find the perfect match. http://www.bharatmatrimony.com/cgi-bin/bmclicks1.cgi?141 _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/