Re: Memory and Swap - Mailing list pgsql-admin

From Campbell, Lance
Subject Re: Memory and Swap
Date
Msg-id B75CD08C73BD3543B97E4EF3964B7D7020386211@CITESMBX1.ad.uillinois.edu
Whole thread Raw
In response to Re: Memory and Swap  (Marco Nietz <pg@mnietz.de>)
List pgsql-admin
Marco and Scott,
Thanks for your answers.  The  Swappiness web link was great.

Lance

-----Original Message-----
From: pgsql-admin-owner@postgresql.org [mailto:pgsql-admin-owner@postgresql.org] On Behalf Of Marco Nietz
Sent: Wednesday, May 11, 2016 12:37 AM
To: pgsql-admin@postgresql.org
Subject: Re: [ADMIN] Memory and Swap

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


pgsql-admin by date:

Previous
From: Mike Broers
Date:
Subject: Re: driving postgres to achieve benchmark results similar to bonnie++
Next
From: Fernando Hevia
Date:
Subject: Re: Memory and Swap