Received: from magus.postgresql.org (magus.postgresql.org [87.238.57.229]) by mail.postgresql.org (Postfix) with ESMTP id ADA81116AE57 for ; Tue, 3 Jan 2012 12:24:21 -0400 (AST) Received: from gwmta.wicourts.gov ([165.219.244.99] helo=gw.wicourts.gov) by magus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1Ri79v-0003Wp-78 for pgsql-admin@postgresql.org; Tue, 03 Jan 2012 16:24:21 +0000 Received: from Courts-MTA by gw.wicourts.gov with Novell_GroupWise; Tue, 03 Jan 2012 10:24:05 -0600 Message-Id: <4F02D73D0200002500044283@gw.wicourts.gov> X-Mailer: Novell GroupWise Internet Agent 8.0.1 Date: Tue, 03 Jan 2012 10:23:57 -0600 From: "Kevin Grittner" To: "MirrorX" , Subject: Re: system is swapping (not actively), why? References: <1325583863316-5116515.post@n5.nabble.com> In-Reply-To: <1325583863316-5116515.post@n5.nabble.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Pg-Spam-Score: -6.0 (------) X-Archive-Number: 201201/4 X-Sequence-Number: 38916 MirrorX 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