pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Kevin Grittner <Kevin.Grittner@wicourts.gov>
To: MirrorX <mirrorx@gmail.com>
To: pgsql-admin@postgresql.org
Subject: Re: system is swapping (not actively), why?
Date: Tue, 03 Jan 2012 10:23:57 -0600
Message-ID: <4F02D73D0200002500044283@gw.wicourts.gov> (raw)
In-Reply-To: <1325583863316-5116515.post@n5.nabble.com>
References: <1325583863316-5116515.post@n5.nabble.com>

MirrorX <mirrorx@gmail.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



view thread (6+ messages)  latest in thread

Message-ID: <4F02D73D0200002500044283@gw.wicourts.gov>
Permalink:  ../4F02D73D0200002500044283@gw.wicourts.gov/
Also on:    postgresql.org/message-id/4F02D73D0200002500044283@gw.wicourts.gov

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-admin@postgresql.org
  Cc: Kevin.Grittner@wicourts.gov, mirrorx@gmail.com
  Subject: Re: system is swapping (not actively), why?
  In-Reply-To: <4F02D73D0200002500044283@gw.wicourts.gov>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox