Skip site navigation (1) Skip section navigation (2)

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: (view raw, whole thread or download thread mbox)
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.

In response to


pgsql-admin by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group