From owner-freebsd-current Sun Nov 10 13:16:52 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5D5B337B401 for ; Sun, 10 Nov 2002 13:16:51 -0800 (PST) Received: from outel.org (outel.org [168.150.177.152]) by mx1.FreeBSD.org (Postfix) with ESMTP id CEA3443E42 for ; Sun, 10 Nov 2002 13:16:50 -0800 (PST) (envelope-from qumqats@outel.org) Received: from localhost (winxp [192.168.1.20]) by outel.org (8.12.6/8.12.6) with ESMTP id gAALGIjK071871 for ; Sun, 10 Nov 2002 13:16:35 -0800 (PST) (envelope-from qumqats@outel.org) Date: Sun, 10 Nov 2002 13:16:10 -0800 From: "Joel M. Baldwin" Cc: current@FreeBSD.ORG Subject: Re: Panics instead of Hard Locks Message-ID: <46057497.1036934170@[192.168.1.20]> In-Reply-To: <20021110190335E.tegge@cvsup.no.freebsd.org> References: <40095464.1036852016@[192.168.1.20]> <20021110190335E.tegge@cvsup.no.freebsd.org> X-Mailer: Mulberry/3.0.0b8 (Win32) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG If there's a race why hasn't it been fixed in the main tree? A swap issue makes sense. If I've been down long enough I get swamped with email when I come back up. A bug in the latest procmail yields 130M processes that fill up swap and make the system be swap bound. The solution is the following patch to procmail. --On Sunday, November 10, 2002 7:03 PM +0000 Tor.Egge@cvsup.no.freebsd.org wrote: >> >> Since going from a SMP to nonSMP kernel the Hard Locks don't >> seem to be happening. However I'm getting panics. >> >> I've gotten 4 'sleeping thread owns a mutex' panics and one each >> of 'Assertion i != 0 failed at ../../../kern/subr_witness.c:669' >> and 'Duplicate free of item 0xc3895cc0 from zone 0xc0ea63c0(VMSPACE)' > > The 'Duplicate free' can be caused by a race between swapout_procs() > and kern_exit()+wait1(). > > The enclosed patch might help. > > Disabling swapping (sysctl vm.swap_enabled=0) can also help. > > - Tor Egge To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message