From owner-freebsd-questions@FreeBSD.ORG Mon Feb 13 22:58:14 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3885616A423 for ; Mon, 13 Feb 2006 22:58:14 +0000 (GMT) (envelope-from cswiger@mac.com) Received: from pi.codefab.com (pi.codefab.com [199.103.21.227]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5448E43D53 for ; Mon, 13 Feb 2006 22:58:13 +0000 (GMT) (envelope-from cswiger@mac.com) Received: from localhost (localhost [127.0.0.1]) by pi.codefab.com (Postfix) with ESMTP id 4742C5CB5; Mon, 13 Feb 2006 17:58:10 -0500 (EST) Received: from pi.codefab.com ([127.0.0.1]) by localhost (pi.codefab.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 22390-02; Mon, 13 Feb 2006 17:58:09 -0500 (EST) Received: from [199.103.21.238] (pan.codefab.com [199.103.21.238]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by pi.codefab.com (Postfix) with ESMTP id 61F4E5C27; Mon, 13 Feb 2006 17:58:09 -0500 (EST) In-Reply-To: <1139868809.6940.254283466@webmail.messagingengine.com> References: <1139792505.30118.254198744@webmail.messagingengine.com> <43F0434F.2000703@locolomo.org> <1139826617.10634.254226042@webmail.messagingengine.com> <20060213214053.GA20537@panix.com> <1139868809.6940.254283466@webmail.messagingengine.com> Mime-Version: 1.0 (Apple Message framework v746.2) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: <5A1E3F19-24CD-42ED-A945-A37E57EB8748@mac.com> Content-Transfer-Encoding: 7bit From: Charles Swiger Date: Mon, 13 Feb 2006 17:58:07 -0500 To: Robert Leftwich X-Mailer: Apple Mail (2.746.2) X-Virus-Scanned: amavisd-new at codefab.com Cc: "freebsd-questions@freebsd.org List" Subject: Re: Memory leak? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 13 Feb 2006 22:58:14 -0000 On Feb 13, 2006, at 5:13 PM, Robert Leftwich wrote: > After 1 dataset it is: > > Mem: 107M Active, 1919M Inact, 158M Wired, 16K Cache, 214M Buf, > 570M > Free > Swap: 4068M Total, 4068M Free > > which totals 2968M > > While running on the 6th dataset: > > Mem: 1032M Active, 1045M Inact, 260M Wired, 145M Cache, 214M Buf, > 4664K Free > Swap: 4068M Total, 108K Used, 4068M Free > > which totals 2700.6M Possibly your database is using lots of SysV shared memory, which would explain why "wired" is going up so much, otherwise perhaps something in the kernel is leaking. "sysctl kern.malloc" might be interesting to consider. > Are my assumptions incorrect, should the totals displayed by top be at > least approximately equal? Exclude the "buf" entry from your math, that will be closer. You should be looking further down at the SIZE column to see which processes are using so much RAM... -- -Chuck