From: | Alex Hunsaker <badalex(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 17:59:00 |
Message-ID: | CAFaPBrQGCN9tOHo14c+BZY76a8i3R0_Z45+hDGDcZOxkg8-BxA@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
On Wed, Nov 2, 2011 at 10:42, 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) ?
IMHO yes (although I never touch swappiness...)
> I know we gained some control over the OOM Killer in newer kernels
> and remember reading that maybe postgres could handle it in a different way now.
If you compile with -DOOM_ADJ (which I think the red hat rpms do?)
yes. As usual the docs are fairly good:
http://www.postgresql.org/docs/9.1/interactive/kernel-resources.html#LINUX-MEMORY-OVERCOMMIT
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2011-11-02 18:21:00 | Re: postgresql-9.1.1 PQescapeByteaConn() generating incorrectly quoted output. |
Previous Message | Adam Cornett | 2011-11-02 17:55:40 | Re: 9.1 replication on different arch |