Swap Usage

Chris H bsd-lists at bsdforge.com
Thu Jul 30 01:57:56 UTC 2015

On Wed, 29 Jul 2015 17:41:33 -0700 Doug Hardie <bc979 at lafn.org> wrote

> I have several FreeBSD 9.3 systems that are using swap and I can’t figure
> out what is doing it.  The key system has 6GB swap and currently it has over
> 2GB in use.  ps shows only a kernel module [intr] with a W status.  Obviously
> that isn’t using the space.  No other process shows a W in its status.  I
> suspect this is somewhat related to the use of mmap in one application. 
> However, all of the mmaps in that application are file backed and thus
> shouldn’t use swap.  How do I figure out what that swap space is being used
> for? 
Maybe top(1)?
top -P
for example. At least you could see who's chewing all your memory. Which
should be a good clue as to who's responsible for swap usage.

> _______________________________________________
> freebsd-stable at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-stable
> To unsubscribe, send any mail to "freebsd-stable-unsubscribe at freebsd.org"

More information about the freebsd-stable mailing list