memory leak and swapfile

Jeremy Chadwick freebsd at jdc.parodius.com
Sat Nov 27 12:17:45 UTC 2010


On Fri, Nov 26, 2010 at 07:12:59PM -0800, Kevin Oberman wrote:
> > From: "Jack Raats" <jack at jarasoft.net>
> > Date: Fri, 26 Nov 2010 19:17:05 +0100
> > Sender: owner-freebsd-stable at 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 at parodius.com |
| Parodius Networking                       http://www.parodius.com/ |
| UNIX Systems Administrator                  Mountain View, CA, USA |
| Making life hard for others since 1977.              PGP: 4BD6C0CB |



More information about the freebsd-stable mailing list