Re: shrinking swap space

2010-07-10 Thread John Almberg

Robert  Chuck,

Thanks for your answers... they sound like good clues. I'll need to read 
up some more to understand the answers :-)


Thanks!

-- John
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: shrinking swap space

2010-07-09 Thread Robert Bonomi
 From owner-freebsd-questi...@freebsd.org  Fri Jul  9 08:18:56 2010
 Date: Fri, 09 Jul 2010 09:18:01 -0400
 From: John Almberg jalmb...@identry.com
 To: freebsd-questions@freebsd.org
 Subject: shrinking swap space

 Since my server locked me out last week because it was out of swap 
 space, I've been monitoring the swap space every 4 hours. It started off 
 with 3% used and little by little it has crept up to 17% this morning.

 I've been reading up on the subject in my two FreeBSD books (Absolute 
 and Complete) but neither give me a hint on how to find the program(s) 
 that are slowly eating up my swap space.

 Is there a utility that shows which programs are using swap space? Or 
 that can help debug this problem?

'ps' is your friend.  it will show you the 'total' memory used by each
process, *AND* the 'working set' size.  The working set is the part of that
process's address-space that is currently mapped into RAM.  The -difference-
betwen the total size, and the working set size is the swap usage.


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: shrinking swap space

2010-07-09 Thread Chuck Swiger
Hi--

On Jul 9, 2010, at 6:18 AM, John Almberg wrote:
 Is there a utility that shows which programs are using swap space? Or that 
 can help debug this problem?

Try: top -o size

Regards,
-- 
-Chuck

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org