pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Marco Nietz <pg@mnietz.de>
To: pgsql-admin@postgresql.org
Subject: Re: Memory and Swap
Date: Wed, 11 May 2016 07:37:20 +0200
Message-ID: <5732C510.70307@mnietz.de> (raw)
In-Reply-To: <B75CD08C73BD3543B97E4EF3964B7D7020382764@CITESMBX1.ad.uillinois.edu>
References: <B75CD08C73BD3543B97E4EF3964B7D7020382764@CITESMBX1.ad.uillinois.edu>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-admin>

Linux tends to swap out to early with the default settings of 
swappiness, try to decrease it to 10 or 1

https://en.wikipedia.org/wiki/Swappiness

Marco


Am 10.05.2016 um 22:23 schrieb Campbell, Lance:
> PostgreSQL 9.5.2
>
> Linux Red Hat
>
> I have 10 G of memory.  Nagios is saying I have 2 G used and 8 G free.
>
> Yet my swap is at 1 G.
>
> 1)Why is that?
>
> 2)Over that past week it has climbed from almost nothing to 1 G.  It is
> a steady climb.  No big jump.
>
> Thanks,
>
> Lance
>


-- 
Sent via pgsql-admin mailing list (pgsql-admin@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-admin



view thread (7+ messages)  latest in thread

Message-ID: <5732C510.70307@mnietz.de>
Permalink:  ../5732C510.70307@mnietz.de/
Also on:    postgresql.org/message-id/5732C510.70307@mnietz.de

 · 

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: pg@mnietz.de
  Subject: Re: Memory and Swap
  In-Reply-To: <5732C510.70307@mnietz.de>

* 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