50 percent swap used, but "ps auxww" output shows no processes swapped out

Brandon Allbery allbery.b at gmail.com
Sat Feb 3 21:18:53 UTC 2018


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 at 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 at freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-stable
> To unsubscribe, send any mail to "freebsd-stable-unsubscribe at freebsd.org"
>



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


More information about the freebsd-stable mailing list