who is in swap?
Adam Vande More
amvandemore at gmail.com
Fri May 20 19:41:39 UTC 2011
On Fri, May 20, 2011 at 6:31 AM, Daniel Braniss <danny at cs.huji.ac.il> wrote:
> Hi,
> We have a host, providing mainly http/postgres service, and its
> swap usage is increasing. Is there any way to check which process
> is using swap space?
>
> some facts
> it's running 8.2-stable/amd64
> has 24gb of memory
> zfs seems to be ok, arc size too.
> top says 32G in use, while vmstat avm is around 2G (can't figure this one)
> top seems to be concervative as to free memory vs. vmstat
> it's dataless.
>
> the swap usage is monotonic increasing, but it will take some 20 days
> to exhaust the space, it will hang before that :-( - which
> is what I'm trying to find why
>
ps ax
If second character of state column is W, the process is swapped out.
--
Adam Vande More
More information about the freebsd-hackers
mailing list