kern/72126: panic: sorele under heavy traffic/load

Vlad marchenko at
Mon Sep 27 05:50:23 PDT 2004

>Number:         72126
>Category:       kern
>Synopsis:       panic: sorele under heavy traffic/load
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Sep 27 12:50:22 GMT 2004
>Originator:     Vlad
>Release:        5.3-BETA6
FreeBSD 5.3-BETA6 FreeBSD 5.3-BETA6 #1: Sun Sep 26 14:13:39 EDT 2004 vlad at host:/usr/obj/usr/src/sys/DC1  i386

under heavy load SMP kernel dies with 
"panic: sorele" or (if kernel debug enabled) with 
panic: sodealloc(): so_count 1

kdb_enter(c06497b7,0,c064f89d,e8955b18,c27df640) at kdb_enter+0x30
panic(c064f89d,1,122,c3a9fd78,c3a9fca8) at panic+0x14e
sodealloc(c3a9fca8,0,c064f87d,17d,c3a9fd10) at sodealloc+0x21
sofree(c3a9fca8,1,c0653b3a,2b4,c06c8b40) at sofree+0x301
in_pcbdetach(c359b9d8,c36f4e00,e8955c68,c058a645,c36f4e00) at in_pcbdetach+0xf8
tcp_close(c36f4e00,c28a5034,0,0,0) at tcp_close+0x1d
tcp_input(c3286800,14,c283a000,1,374a41cf) at tcp_input+0x1885
ip_input(c3286800,0,c065313d,e5,c06c78b8) at ip_input+0x592
netisr_processqueue(c06c78b8,c069acc0,1,c0648b1f,c27e6d00) at netisr_processqueue+0x8e
swi_net(0,0,c0647164,269,0) at swi_net+0xe9
ithread_loop(c275d780,e8955d48,c0646f4f,323,0) at ithread_loop+0x172
fork_exit(c04d1970,c275d780,e8955d48) at fork_exit+0xc6
fork_trampoline() at fork_trampoline+0x8

our server is taking 80-150 short http requests-responces (ad/click serving software over apache+modperl, postgresql). System crashes within  ten minutes to several hours (depends of the load). Works fine for days if on a sisngle CPU.
disable SMP in kernel

More information about the freebsd-bugs mailing list