When trying to profile ircd-hybrid-7 on -CURRENT (I tried using a pre-vm
madness version first, then tried a version cvsuped today), I reliably get
lots of:

        kernel trap 12 with interrupts disabled

messages on the console (one every 5-10 seconds, when the ircd is reasonably
loaded).

I also got those from profiling a simple test program I wrote, which just
opens a couple of pipes, forks, then passes messages back and forth between
child & parent.

One thing I got with ircd-hybrid-7 (when very heavily loaded with lots of
clones), which I _couldnt_ replicate with the test program (probably because
it wasn't very heavily loaded) was a panic:

<...>
kernel trap 12 with interrupts disabled
kernel trap 12 with interrupts disabled
kernel trap 12 with interrupts disabled
kernel trap 12 with interrupts disabled
kernel trap 12 with interrupts disabled
kernel trap 12 with interrupts disabled
kernel trap 12 with interrupts disabled
kernel trap 12 with interrupts disabled
kernel trap 12 with interrupts disabled
panic: mutex sched lock recursed at /usr/src/sys/kern/kern_sync.c:858
Debugger("panic")
Stopped at      Debugger+0x45:  pushl   %ebx
db> t
Debugger(c02fa51b) at Debugger+0x45
panic(c02f9684,c031d2a9,c02fad20,35a,282) at panic+0x70
_mtx_assert(c03a7120,9,c02fad20,35a,282) at _mtx_assert+0x6c
mi_switch(d1748420,38,d1748420,e,d17c9e90) at mi_switch+0x25
ithread_schedule(c26e3180,1) at ithread_schedule+0x165
sched_ithd(e) at sched_ithd+0x3d
Xresume14() at Xresume14+0x7
-- interrupt, eip = 0xc02c8a18, esp = 0xd17c9ed8, ebp = 0xd17c9f04 --
trap(d1740018,d1740010,8080010,d17c9f72,85d02ec) at trap+0x94
calltrap() at calltrap+0x5
-- trap 0xc, eip = 0xc02c71f5, esp = 0xd17c9f4c, ebp = 0xd17c9f74 --
generic_copyin(d1748420,809073d,1) at generic_copyin+0x39
ast(d17c9fa8) at ast+0x318
doreti_ast() at doreti_ast+0x6
db> 


Unfortunately dumpsys() fails, so I don't have much more info, but I can
reproduce this quite easily...

-- 
David Taylor
[EMAIL PROTECTED]

PGP signature

Reply via email to