From owner-freebsd-stable@FreeBSD.ORG Sun Jul 24 17:01:17 2005 Return-Path: X-Original-To: stable@freebsd.org Delivered-To: freebsd-stable@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E2BA516A41F for ; Sun, 24 Jul 2005 17:01:17 +0000 (GMT) (envelope-from grafan@gmail.com) Received: from wproxy.gmail.com (wproxy.gmail.com [64.233.184.205]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4E1E143D48 for ; Sun, 24 Jul 2005 17:01:17 +0000 (GMT) (envelope-from grafan@gmail.com) Received: by wproxy.gmail.com with SMTP id 71so786262wri for ; Sun, 24 Jul 2005 10:01:16 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=Xx+KuSc8KcEhHe7jLIY/8LinWD44JFw/czo2u4NfELgp9d8/MuNeqGJiVoXKi9KT97IwTbT5FjIVz1IpZYUfa2hC6FGPAZOXxOQ98r8G4FfAgedAJ9rYJrqzsch2insN8zQ2OENv2K3lftfuXxyXRp7rtL78Vf4p1F030nou2/k= Received: by 10.54.68.16 with SMTP id q16mr1962828wra; Sun, 24 Jul 2005 10:01:16 -0700 (PDT) Received: by 10.54.7.20 with HTTP; Sun, 24 Jul 2005 10:01:16 -0700 (PDT) Message-ID: <6eb82e0507241001615f7490@mail.gmail.com> Date: Mon, 25 Jul 2005 01:01:16 +0800 From: Rong-En Fan To: stable@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Cc: Subject: panic: sbflush_locked on 5.4-p5/i386 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Rong-En Fan List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 24 Jul 2005 17:01:18 -0000 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