Re: Memory and Swap

From: "Campbell, Lance" <lance(at)illinois(dot)edu>
To: "'Marco Nietz'" <pg(at)mnietz(dot)de>, "pgsql-admin(at)postgresql(dot)org" <pgsql-admin(at)postgresql(dot)org>
Subject: Re: Memory and Swap
Date: 2016-05-11 18:51:06
Message-ID: B75CD08C73BD3543B97E4EF3964B7D7020386211@CITESMBX1.ad.uillinois.edu
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Marco and Scott,
Thanks for your answers. The Swappiness web link was great.

Lance

-----Original Message-----
From: pgsql-admin-owner(at)postgresql(dot)org [mailto:pgsql-admin-owner(at)postgresql(dot)org] On Behalf Of Marco Nietz
Sent: Wednesday, May 11, 2016 12:37 AM
To: pgsql-admin(at)postgresql(dot)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(at)postgresql(dot)org) To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-admin

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Fernando Hevia 2016-05-11 20:14:12 Re: Memory and Swap
Previous Message Mike Broers 2016-05-11 15:47:11 Re: driving postgres to achieve benchmark results similar to bonnie++