From owner-freebsd-stable@FreeBSD.ORG Sat Nov 27 12:17:45 2010 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CDADB106566B for ; Sat, 27 Nov 2010 12:17:45 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from qmta05.emeryville.ca.mail.comcast.net (qmta05.emeryville.ca.mail.comcast.net [76.96.30.48]) by mx1.freebsd.org (Postfix) with ESMTP id B3B4D8FC08 for ; Sat, 27 Nov 2010 12:17:45 +0000 (UTC) Received: from omta06.emeryville.ca.mail.comcast.net ([76.96.30.51]) by qmta05.emeryville.ca.mail.comcast.net with comcast id cCBb1f00316AWCUA5CHkDa; Sat, 27 Nov 2010 12:17:44 +0000 Received: from koitsu.dyndns.org ([98.248.41.155]) by omta06.emeryville.ca.mail.comcast.net with comcast id cCHj1f0053LrwQ28SCHjz0; Sat, 27 Nov 2010 12:17:44 +0000 Received: by icarus.home.lan (Postfix, from userid 1000) id 492E39B422; Sat, 27 Nov 2010 04:17:43 -0800 (PST) Date: Sat, 27 Nov 2010 04:17:43 -0800 From: Jeremy Chadwick To: Kevin Oberman Message-ID: <20101127121743.GA97603@icarus.home.lan> References: <1DDFC51B19BA4655A2B8AFE4EC536337@jarasc430> <20101127031259.7CD631CC0C@ptavv.es.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20101127031259.7CD631CC0C@ptavv.es.net> User-Agent: Mutt/1.5.21 (2010-09-15) Cc: freebsd-stable@freebsd.org Subject: Re: memory leak and swapfile X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 27 Nov 2010 12:17:45 -0000 On Fri, Nov 26, 2010 at 07:12:59PM -0800, Kevin Oberman wrote: > > From: "Jack Raats" > > Date: Fri, 26 Nov 2010 19:17:05 +0100 > > Sender: owner-freebsd-stable@freebsd.org > > > > It looks like that there may be a memory leak of my swap space with one of > > the processes that is running. > > Big question: How can I determine which process is responsible. > > > > Any suggestions? > > ps -aux Look for processes with large values in the VSZ column. > > I'm sure that there are other ways to see this, but that's an easy > one. You can, of course, pipe the output to sort and use the -k 5 -n > options. I believe he should be looking for a process that has a large value in RSS ("RES" in top), not VSZ ("SIZE" in top). -- | Jeremy Chadwick jdc@parodius.com | | Parodius Networking http://www.parodius.com/ | | UNIX Systems Administrator Mountain View, CA, USA | | Making life hard for others since 1977. PGP: 4BD6C0CB |