Re: system is swapping (not actively), why?

From: "Kevin Grittner" <Kevin(dot)Grittner(at)wicourts(dot)gov>
To: "MirrorX" <mirrorx(at)gmail(dot)com>,<pgsql-admin(at)postgresql(dot)org>
Subject: Re: system is swapping (not actively), why?
Date: 2012-01-03 16:23:57
Message-ID: 4F02D73D0200002500044283@gw.wicourts.gov
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

MirrorX <mirrorx(at)gmail(dot)com> wrote:

> i am facing the following situation; there is a server which is
> using 2-5GB of swap very often (almost all the time) and i cannot
> figure out why.

In the Ubuntu man docs, it says that the swpd column of vmstat is
not affected by the -S switch. Is that the case in CentOS, too?
The man docs for free don't say anything about it, but since you're
showing matching values with vmstat, perhaps it holds there, too.
That would mean 2 MB, not 2 GB, in swap.

We routinely have a few MB of library code swapped out which is
rarely used. I wouldn't worry as long as the si and so columns of
vmstat report zero under load.

-Kevin

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message MirrorX 2012-01-03 17:11:20 Re: system is swapping (not actively), why?
Previous Message MirrorX 2012-01-03 09:44:23 system is swapping (not actively), why?