Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 27 Nov 2010 04:17:43 -0800
From:      Jeremy Chadwick <freebsd@jdc.parodius.com>
To:        Kevin Oberman <oberman@es.net>
Cc:        freebsd-stable@freebsd.org
Subject:   Re: memory leak and swapfile
Message-ID:  <20101127121743.GA97603@icarus.home.lan>
In-Reply-To: <20101127031259.7CD631CC0C@ptavv.es.net>
References:  <1DDFC51B19BA4655A2B8AFE4EC536337@jarasc430> <20101127031259.7CD631CC0C@ptavv.es.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Nov 26, 2010 at 07:12:59PM -0800, Kevin Oberman wrote:
> > From: "Jack Raats" <jack@jarasoft.net>
> > 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 |




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20101127121743.GA97603>