Re: Memory and Swap

From: Marco Nietz <pg(at)mnietz(dot)de>
To: pgsql-admin(at)postgresql(dot)org
Subject: Re: Memory and Swap
Date: 2016-05-11 05:37:20
Message-ID: 5732C510.70307@mnietz.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-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
>

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Guillaume Lelarge 2016-05-11 07:07:56 Re: Major Version Upgradation in Replication Environment
Previous Message Scott Whitney 2016-05-10 21:21:41 Re: Memory and Swap