kern/121955: [ipfw] [panic] freebsd 7.0 panic with mpd

Alexander Shulikov shulikov at i.ua
Tue Mar 25 08:52:39 PDT 2008


After I set net.isr.direct=0 and others:
net.inet.ip.fw.one_pass=0
net.inet.ip.fw.autoinc_step=1
net.isr.direct=0
net.inet.ip.intr_queue_maxlen=1024
net.inet.ip.dummynet.hash_size=256
net.inet.ip.dummynet.expire=0
net.inet.ip.dummynet.max_chain_len=64
net.graph.maxdgram=128000
net.graph.recvspace=128000
net.inet.tcp.sendspace=131070
net.inet.tcp.recvspace=131070
kern.ipc.somaxconn=8192
kern.ipc.maxsockbuf=2097152
server panic after 10-15 minutes, against 3-5.
But in kernel dump now:
Fatal trap 12: page fault while in kernel mode
cpuid = 0; apic id = 00
fault virtual address   = 0xe2
fault code              = supervisor read, page not present
instruction pointer     = 0x20:0xc7d1aff0
stack pointer           = 0x28:0xed8ccae0
frame pointer           = 0x28:0xed8ccbd8
code segment            = base 0x0, limit 0xfffff, type 0x1b
                        = DPL 0, pres 1, def32 1, gran 1
processor eflags        = interrupt enabled, resume, IOPL = 0
current process         = 12 (swi1: net)
trap number             = 12
panic: page fault
cpuid = 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=260) at /usr/src/sys/kern/kern_shutdown.c:409
#2  0xc0562c89 in panic (fmt=Variable "fmt" is not available.
) at /usr/src/sys/kern/kern_shutdown.c:563
#3  0xc07b4f3c in trap_fatal (frame=0xed8ccaa0, eva=226) at /usr/src/sys/i386/i386/trap.c:899
#4  0xc07b51a0 in trap_pfault (frame=0xed8ccaa0, usermode=0, eva=226) at /usr/src/sys/i386/i386/trap.c:812
#5  0xc07b5b22 in trap (frame=0xed8ccaa0) 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 0xffffffff.
I have similar server with load much smaller under FreeBSD 7.0-RC3, but with similar configuration (used ipfw+tables+pipes, pf, mpd5), but in mpd I don't using ng_car. May be using ng_car and dummynet together is corrupt?

-- реклама -----------------------------------------------------------
Научим каждого зарабатывать на колебаниях курсов валют.
Запись на бесплатный семинар http://www.fxclub.org/condition_howtrade_freeseminar/



More information about the freebsd-ipfw mailing list