Re: OOM Killer / PG9 / RHEL 6.1 - Mailing list pgsql-general

From Scott Marlowe
Subject Re: OOM Killer / PG9 / RHEL 6.1
Date
Msg-id CAOR=d=359pRHaA02E-pdi3Z20LFgn-9d+4mDkq_oAFBh74uqRQ@mail.gmail.com
Whole thread Raw
In response to OOM Killer / PG9 / RHEL 6.1  (David Kerr <dmk@mr-paradox.net>)
List pgsql-general
On Wed, Nov 2, 2011 at 10:42 AM, David Kerr <dmk@mr-paradox.net> wrote:
> Howdy,
>
> just a quick check, is
> vm.overcommit_memory = 2
> vm.swappiness = 0
>
> Still the way to go with PG9.0 / RHEL 6.1 (64bit) ?

If you've got lots of ram, it's better off to throw a "swapoff -a" at
the end of rc.local, as I found that on large mem machines with late
model kernels, setting swappiness to 0 I still had the occasionaly
kswapd storm being my production servers to their knees.

pgsql-general by date:

Previous
From: Yeb Havinga
Date:
Subject: Re: Recommendations for SSDs in production?
Next
From: Martín Marqués
Date:
Subject: Re: 9.1 replication on different arch