From owner-freebsd-ipfw@FreeBSD.ORG Tue Mar 25 15:52:39 2008 Return-Path: Delivered-To: freebsd-ipfw@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 271791065683 for ; Tue, 25 Mar 2008 15:52:39 +0000 (UTC) (envelope-from shulikov@i.ua) Received: from web01.mi6.kiev.ua (web01.mi6.kiev.ua [91.198.36.2]) by mx1.freebsd.org (Postfix) with ESMTP id AF8788FC1E for ; Tue, 25 Mar 2008 15:52:38 +0000 (UTC) (envelope-from shulikov@i.ua) Received: from web03.mi6 ([10.0.0.4] helo=web03.mi6.kiev.ua) by web01.mi6.kiev.ua with esmtp (Exim 4.43) id 1JeB8Z-0006eZ-72 for freebsd-ipfw@freebsd.org; Tue, 25 Mar 2008 17:32:31 +0200 Received: from web by web03.mi6.kiev.ua with local (Exim 4.43) id 1JeB8g-0006eu-W6 for freebsd-ipfw@freebsd.org; Tue, 25 Mar 2008 17:32:39 +0200 To: freebsd-ipfw@freebsd.org Date: Tue, 25 Mar 2008 17:32:38 +0200 From: Alexander Shulikov MIME-Version: 1.0 Content-Type: TEXT/PLAIN; CHARSET=windows-1251 Content-Transfer-Encoding: QUOTED-PRINTABLE X-User-Agent: Mozilla/5.0 (X11; U; Linux i686; ru; rv:1.8.1.12) Gecko/20080203 SUSE/2.0.0.12-0.1 Firefox/2.0.0.12 X-Sender-IP: 193.108.38.14 X-Mailer: I.UA Mail System Message-Id: Subject: kern/121955: [ipfw] [panic] freebsd 7.0 panic with mpd X-BeenThere: freebsd-ipfw@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: IPFW Technical Discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 25 Mar 2008 15:52:39 -0000 After I set net.isr.direct=3D0 and others: net.inet.ip.fw.one_pass=3D0 net.inet.ip.fw.autoinc_step=3D1 net.isr.direct=3D0 net.inet.ip.intr_queue_maxlen=3D1024 net.inet.ip.dummynet.hash_size=3D256 net.inet.ip.dummynet.expire=3D0 net.inet.ip.dummynet.max_chain_len=3D64 net.graph.maxdgram=3D128000 net.graph.recvspace=3D128000 net.inet.tcp.sendspace=3D131070 net.inet.tcp.recvspace=3D131070 kern.ipc.somaxconn=3D8192 kern.ipc.maxsockbuf=3D2097152 server panic after 10-15 minutes, against 3-5. But in kernel dump now: Fatal trap 12: page fault while in kernel mode cpuid =3D 0; apic id =3D 00 fault virtual address =3D 0xe2 fault code =3D supervisor read, page not present instruction pointer =3D 0x20:0xc7d1aff0 stack pointer =3D 0x28:0xed8ccae0 frame pointer =3D 0x28:0xed8ccbd8 code segment =3D base 0x0, limit 0xfffff, type 0x1b =3D DPL 0, pres 1, def32 1, gran 1 processor eflags =3D interrupt enabled, resume, IOPL =3D 0 current process =3D 12 (swi1: net) trap number =3D 12 panic: page fault cpuid =3D 0 Uptime: 3h14m51s Physical memory: 1015 MB Dumping 70 MB: (CTRL-C to abort) 55 (CTRL-C to abort) 39 23 7 #0 doadump () at pcpu.h:195 195 pcpu.h: No such file or directory. in pcpu.h (kgdb) backtrace #0 doadump () at pcpu.h:195 #1 0xc05629c7 in boot (howto=3D260) at /usr/src/sys/kern/kern_shutdown.c:4= 09 #2 0xc0562c89 in panic (fmt=3DVariable "fmt" is not available. ) at /usr/src/sys/kern/kern_shutdown.c:563 #3 0xc07b4f3c in trap_fatal (frame=3D0xed8ccaa0, eva=3D226) at /usr/src/sy= s/i386/i386/trap.c:899 #4 0xc07b51a0 in trap_pfault (frame=3D0xed8ccaa0, usermode=3D0, eva=3D226)= at /usr/src/sys/i386/i386/trap.c:812 #5 0xc07b5b22 in trap (frame=3D0xed8ccaa0) at /usr/src/sys/i386/i386/trap.= c:490 #6 0xc079ccbb in calltrap () at /usr/src/sys/i386/i386/exception.s:139 #7 0xc7d1aff0 in ?? () Previous frame inner to this frame (corrupt stack?) In ipfw I use tables, that then added to pipe, that configured with mask 0x= ffffffff. I have similar server with load much smaller under FreeBSD 7.0-RC3, but wit= h similar configuration (used ipfw+tables+pipes, pf, mpd5), but in mpd I do= n't using ng_car. May be using ng_car and dummynet together is corrupt? -- =F0=E5=EA=EB=E0=EC=E0 --------------------------------------------------= --------- =CD=E0=F3=F7=E8=EC =EA=E0=E6=E4=EE=E3=EE =E7=E0=F0=E0=E1=E0=F2=FB=E2=E0=F2= =FC =ED=E0 =EA=EE=EB=E5=E1=E0=ED=E8=FF=F5 =EA=F3=F0=F1=EE=E2 =E2=E0=EB=FE= =F2. =C7=E0=EF=E8=F1=FC =ED=E0 =E1=E5=F1=EF=EB=E0=F2=ED=FB=E9 =F1=E5=EC=E8=ED=E0= =F0 http://www.fxclub.org/condition_howtrade_freeseminar/