From owner-freebsd-current Wed Oct 16 14:26:21 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 151D937B404; Wed, 16 Oct 2002 14:26:20 -0700 (PDT) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.FreeBSD.org (Postfix) with ESMTP id C258843E75; Wed, 16 Oct 2002 14:26:19 -0700 (PDT) (envelope-from bright@elvis.mu.org) Received: by elvis.mu.org (Postfix, from userid 1192) id 9C76FAE1C6; Wed, 16 Oct 2002 14:26:19 -0700 (PDT) Date: Wed, 16 Oct 2002 14:26:19 -0700 From: Alfred Perlstein To: Ben Stuyts Cc: Jeff Roberson , Terry Lambert , Robert Watson , current@freebsd.org, jeff@freebsd.org Subject: Re: [Ugly PATCH] Again: panic kmem_malloc() Message-ID: <20021016212619.GR95327@elvis.mu.org> References: <4.3.2.7.2.20021016213322.01c6d348@terminus> <4.3.2.7.2.20021016225907.00b8b8b0@terminus> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4.3.2.7.2.20021016225907.00b8b8b0@terminus> User-Agent: Mutt/1.4i 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 * Ben Stuyts [021016 14:05] wrote: > 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 what does sysctl -a | grep ^p10 say? My guess is that you don't have the module in question loaded. If you do, then why? (it's marked experimental) And why aren't these bug reports a lot more detailed? (meaing why aren't you actually giving an hypothesys as to why the code is broken?) *grumble* -- -Alfred Perlstein [alfred@freebsd.org] 'Instead of asking why a piece of software is using "1970s technology," start asking why software is ignoring 30 years of accumulated wisdom.' To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message