Re: OOM Killer / PG9 / RHEL 6.1

From: Scott Marlowe <scott(dot)marlowe(at)gmail(dot)com>
To: David Kerr <dmk(at)mr-paradox(dot)net>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: OOM Killer / PG9 / RHEL 6.1
Date: 2011-11-02 20:30:15
Message-ID: CAOR=d=359pRHaA02E-pdi3Z20LFgn-9d+4mDkq_oAFBh74uqRQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Wed, Nov 2, 2011 at 10:42 AM, David Kerr <dmk(at)mr-paradox(dot)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.

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Martín Marqués 2011-11-03 01:40:19 Re: 9.1 replication on different arch
Previous Message Yeb Havinga 2011-11-02 20:01:47 Re: Recommendations for SSDs in production?