From owner-freebsd-current Fri Sep 29 18:32:15 2000 Delivered-To: freebsd-current@freebsd.org Received: from gatekeeper.tsc.tdk.com (gatekeeper.tsc.tdk.com [207.113.159.21]) by hub.freebsd.org (Postfix) with ESMTP id 8FD0137B502 for ; Fri, 29 Sep 2000 18:32:13 -0700 (PDT) Received: from imap.gv.tsc.tdk.com (imap.gv.tsc.tdk.com [192.168.241.198]) by gatekeeper.tsc.tdk.com (8.8.8/8.8.8) with ESMTP id SAA26494; Fri, 29 Sep 2000 18:31:57 -0700 (PDT) (envelope-from gdonl@tsc.tdk.com) Received: from salsa.gv.tsc.tdk.com (salsa.gv.tsc.tdk.com [192.168.241.194]) by imap.gv.tsc.tdk.com (8.9.3/8.9.3) with ESMTP id SAA04287; Fri, 29 Sep 2000 18:31:57 -0700 (PDT) (envelope-from Don.Lewis@tsc.tdk.com) Received: (from gdonl@localhost) by salsa.gv.tsc.tdk.com (8.8.5/8.8.5) id SAA18953; Fri, 29 Sep 2000 18:31:56 -0700 (PDT) From: Don Lewis Message-Id: <200009300131.SAA18953@salsa.gv.tsc.tdk.com> Date: Fri, 29 Sep 2000 18:31:56 -0700 In-Reply-To: <20000929113047.B4293@wantadilla.lemis.com> References: <20000929113047.B4293@wantadilla.lemis.com> X-Mailer: Mail User's Shell (7.2.6 beta(5) 10/07/98) To: Greg Lehey , FreeBSD current users Subject: Re: Repeated panic out of chgsbsize Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Sep 29, 11:30am, Greg Lehey wrote: } Subject: Repeated panic out of chgsbsize } In the past couple of days, I've had a couple of panics out of chgsbsize: } } (kgdb) bt [ snip ] } #12 0xc01cbac9 in panic (fmt=0xc0356920 "reducing sbsize: lost count, uid = %d") at ../../kern/kern_shutdown.c:553 } #13 0xc01c8d7b in chgsbsize (uid=50, diff=-17520, max=9223372036854775807) at ../../kern/kern_proc.c:206 } #14 0xc01ee6aa in sbrelease (sb=0xcdc091f4, so=0xcdc09180) at ../../kern/uipc_socket2.c:453 } #15 0xc01eb9fb in sofree (so=0xcdc09180) at ../../kern/uipc_socket.c:261 } #16 0xc0221e0b in in_pcbdetach (inp=0xce1c3aa0) at ../../netinet/in_pcb.c:542 } #17 0xc022c462 in tcp_close (tp=0xce1c3b60) at ../../netinet/tcp_subr.c:711 } #18 0xc0229bf6 in tcp_input (m=0xc0e96500, off0=20, proto=6) at ../../netinet/tcp_input.c:2012 } #19 0xc02247ee in ip_input (m=0xc0e96500) at ../../netinet/ip_input.c:756 } #20 0xc022484b in ipintr () at ../../netinet/ip_input.c:784 } #21 0xc0309195 in swi_net_next () That version of the per-uid accounting implementation has some race conditions between the kernel top and bottom halves. I'd recommend upgrading to PRE_SMPNG. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message