Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 25 Jul 2005 01:01:16 +0800
From:      Rong-En Fan <grafan@gmail.com>
To:        stable@freebsd.org
Subject:   panic: sbflush_locked on 5.4-p5/i386
Message-ID:  <6eb82e0507241001615f7490@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
hello,

I have a 5.4-p5 running on i386. Got a panic:
panic: sbflush_locked: cc 0 || mb 0xc33bf000 || mbcnt 4294967040
It is an web server running Apache and Postfix as a backup MX.
I'm using gmirror on all partitions and thus cannot get a dump (swap
is on gmirror). Some ddb outputs are below.

Google told me that
http://lists.freebsd.org/pipermail/freebsd-current/2004-December/044535.htm=
l
looks related. But the code path is different. Note that the patch in that =
mail
is already in 5.4.

If needed, I can provide kernel conf. I also tuned following sysctls:
vfs.hirunningspace=3D2097152
kern.ipc.somaxconn=3D4096
kern.maxfiles=3D30000
kern.maxfilesperproc=3D30000
net.inet.ip.random_id=3D1
machdep.hyperthreading_allowed=3D1

The DDB messages go here:
cpuid =3D 3
KDB: enter: panic
[thread pid 61 tid 100061 ]
Stopped at      kdb_enter+0x2b: nop
db> wh
Tracing pid 61 tid 100061 td 0xc311e180
kdb_enter(c05f3bc6) at kdb_enter+0x2b
panic(c05f6f09,0,c33bf000,ffffff00,c3a1970c) at panic+0x127
sbflush_locked(c3a1970c,c3a19654,e74aeba4,c04e4cb4,c3a1970c) at
sbflush_locked+0x6f
sbrelease_locked(c3a1970c,c3a19654) at sbrelease_locked+0xd
sofree(c3a19654) at sofree+0x26c
in_pcbdetach(c371d870,c3e996f0,c3e996f0,e74aec9c,c05355df) at in_pcbdetach+=
0xb6
tcp_close(c3e996f0,1,1,1042e,1) at tcp_close+0x16
tcp_input(c4513400,14,1c1e708c,0,0) at tcp_input+0x2297
ip_input(c4513400) at ip_input+0x4f1
netisr_processqueue(c0643298) at netisr_processqueue+0xa3
swi_net(0) at swi_net+0xf2
ithread_loop(c3094c80,e74aed48) at ithread_loop+0x159
fork_exit(c049c138,c3094c80,e74aed48) at fork_exit+0x75
fork_trampoline() at fork_trampoline+0x8
--- trap 0x1, eip =3D 0, esp =3D 0xe74aed7c, ebp =3D 0 ---
db> ps
   61 c311ce20    0     0     0 0000204 [CPU 3] swi1: net

Regards,
Rong-En Fan



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6eb82e0507241001615f7490>