From nobody@FreeBSD.org  Mon Sep 27 12:46:48 2004
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 2DA5D16A4CE
	for <freebsd-gnats-submit@FreeBSD.org>; Mon, 27 Sep 2004 12:46:48 +0000 (GMT)
Received: from www.freebsd.org (www.freebsd.org [216.136.204.117])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 21D4F43D48
	for <freebsd-gnats-submit@FreeBSD.org>; Mon, 27 Sep 2004 12:46:48 +0000 (GMT)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.12.11/8.12.11) with ESMTP id i8RCkmk8014448
	for <freebsd-gnats-submit@FreeBSD.org>; Mon, 27 Sep 2004 12:46:48 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.12.11/8.12.11/Submit) id i8RCklWQ014447;
	Mon, 27 Sep 2004 12:46:47 GMT
	(envelope-from nobody)
Message-Id: <200409271246.i8RCklWQ014447@www.freebsd.org>
Date: Mon, 27 Sep 2004 12:46:47 GMT
From: Vlad <marchenko@gmail.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: panic: sorele under heavy traffic/load
X-Send-Pr-Version: www-2.3

>Number:         72126
>Category:       kern
>Synopsis:       panic: sorele under heavy traffic/load
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    rwatson
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Sep 27 12:50:22 GMT 2004
>Closed-Date:    Mon Jan 03 16:24:22 GMT 2005
>Last-Modified:  Mon Jan 03 16:24:22 GMT 2005
>Originator:     Vlad
>Release:        5.3-BETA6
>Organization:
ts
>Environment:
FreeBSD dc1.wetrack.it 5.3-BETA6 FreeBSD 5.3-BETA6 #1: Sun Sep 26 14:13:39 EDT 2004 vlad@host:/usr/obj/usr/src/sys/DC1  i386

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

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

>How-To-Repeat:
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.
>Fix:
disable SMP in kernel
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-bugs->rwatson 
Responsible-Changed-By: kris 
Responsible-Changed-When: Fri Oct 1 16:50:19 GMT 2004 
Responsible-Changed-Why:  
rwatson has been investigating this 

http://www.freebsd.org/cgi/query-pr.cgi?pr=72126 
State-Changed-From-To: open->patched 
State-Changed-By: rwatson 
State-Changed-When: Mon Jan 3 11:52:21 GMT 2005 
State-Changed-Why:  
I believe this bug was fixed in HEAD, RELENG_5, and RELENG_5_3 
prior to the release of 5.3R.  Could you confirm if the problem 
has gone away as of the release?  Thanks! 


http://www.freebsd.org/cgi/query-pr.cgi?pr=72126 
State-Changed-From-To: patched->closed 
State-Changed-By: rwatson 
State-Changed-When: Mon Jan 3 16:23:47 GMT 2005 
State-Changed-Why:  
Closed as submitter reports that all is well: 

> Hi, 
>  
> yes, it seems working stable - so far it didn't panic. thank you 
>  
> happy new year! 

Thanks for the bug report! 


http://www.freebsd.org/cgi/query-pr.cgi?pr=72126 
>Unformatted:
