Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 3 Feb 2018 16:18:51 -0500
From:      Brandon Allbery <allbery.b@gmail.com>
To:        Michael Voorhis <mvoorhis@mcvau.net>
Cc:        freebsd-stable <freebsd-stable@freebsd.org>
Subject:   Re: 50 percent swap used, but "ps auxww" output shows no processes swapped out
Message-ID:  <CAKFCL4USAr8ia6bTqK4dXOAGBJmx51MKZDOPyrcD0Gm1WdWQrg@mail.gmail.com>
In-Reply-To: <b4f2f623-4d58-a783-4c6b-5138c6dfcf52@mcvau.net>
References:  <b4f2f623-4d58-a783-4c6b-5138c6dfcf52@mcvau.net>

next in thread | previous in thread | raw e-mail | index | archive | help
Swapping whole processes out is not really a thing any more. Individual
pages are paged to/from memory; if a memory page has no backing file, it
will be allocated a block in swap space as its backing storage.

(I'm not sure "W" status even means swap; I thought whole-process swapping
wasn't even supported any more.)

On Sat, Feb 3, 2018 at 4:14 PM, Michael Voorhis <mvoorhis@mcvau.net> wrote:

> Hi all,
>
> I've got an amd64 system running 11.1-STABLE r325027, with something
> like 20G of swap. "swapinfo" shows that half the swap is used.
>
> So of course I'm curious to know which processes have been swapped
> out. I'm not using any "tmpfs" filesystems; no ZFS, no huge amounts of
> wired-down memory. The system's got 16 processors and 128G of RAM. "ps
> auxww" output shows *no* processes that are swapped out (2nd character
> in "STAT" field is "W"). Not a single one. The only process with a W in
> the stat field at all is the "[intr]" kernel thread.
>
> What is using the swapspace?
>
> Please educate me.
>
> Thanks,
>
> --MCV.
> _______________________________________________
> freebsd-stable@freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-stable
> To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org"
>



-- 
brandon s allbery kf8nh                               sine nomine associates
allbery.b@gmail.com                                  ballbery@sinenomine.net
unix, openafs, kerberos, infrastructure, xmonad        http://sinenomine.net



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