From owner-freebsd-current Wed Oct 16 14: 5:41 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 ADDB437B401; Wed, 16 Oct 2002 14:05:39 -0700 (PDT) Received: from uucp.nl.uu.net (uucp.nl.uu.net [193.79.237.146]) by mx1.FreeBSD.org (Postfix) with ESMTP id 405B743E9C; Wed, 16 Oct 2002 14:05:39 -0700 (PDT) (envelope-from ben@stuyts.nl) Received: from stuyts by uucp.nl.uu.net with UUCP id ; Wed, 16 Oct 2002 21:05:27 +0000 Received: from lodovik.stuyts.nl (lodovik.stuyts.nl [193.78.231.31]) by stuyts.nl (8.12.6/8.12.6) with ESMTP id g9GL6A8D020800; Wed, 16 Oct 2002 23:06:10 +0200 (CEST) (envelope-from ben@stuyts.nl) Message-Id: <4.3.2.7.2.20021016225907.00b8b8b0@terminus> X-Sender: ben@terminus X-Mailer: QUALCOMM Windows Eudora Version 4.3.2 Date: Wed, 16 Oct 2002 23:06:21 +0200 To: Jeff Roberson From: Ben Stuyts Subject: Re: [Ugly PATCH] Again: panic kmem_malloc() Cc: Terry Lambert , Robert Watson , , , alfred@FreeBSD.ORG In-Reply-To: <20021016155845.B89360-100000@mail.chesapeake.net> References: <4.3.2.7.2.20021016213322.01c6d348@terminus> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed 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 At 22:00 16/10/2002, Jeff Roberson wrote: >On Wed, 16 Oct 2002, Ben Stuyts wrote: > > > I'll also run your vmstat script that you posted in a similar thread. One > > of the big memory users seems to be sem, and it's growing. Almost every > > time I do a vmstat -m, sem usage has grown a few k. > > > >[snip] > > sem167320 2622K 2622K 167320 16,1024,4096 >[snip] > >Thank you for looking into this. It definitely looks like a memory leak. >I forwarded this to alfred. He was just working on semaphores so he may >know something about it. > > > > > I'll see what the stats are tomorrow. > > >Much appreciated. No need to wait for tomorrow. :-) Just 1.5 hours later, vmstat -m says: < sem167344 2622K 2622K 167344 16,1024,4096 --- > sem235512 3687K 3687K 235512 16,1024,4096 So it looks indeed like sem is the problem, Kind regards, Ben To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message