Re: Setting oom_adj on linux? - Mailing list pgsql-hackers

From Bruce Momjian
Subject Re: Setting oom_adj on linux?
Date
Msg-id 201001081645.o08GjoT15764@momjian.us
Whole thread Raw
In response to Re: Setting oom_adj on linux?  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
Tom Lane wrote:
> Alex Hunsaker <badalex@gmail.com> writes:
> > On Fri, Jan 8, 2010 at 07:27, Tom Lane <tgl@sss.pgh.pa.us> wrote:
> >> Then, somebody who wants the feature would build with, say,
> >>        -DLINUX_OOM_ADJ=0
> >> or another value if they want that.
> 
> > Here is a stab at that.
> 
> Anybody have an objection to this basic approach?  I'm in a bit of a
> hurry to get something like this into the Fedora RPMs, so barring
> objections I'm going to review this, commit it into HEAD, and then
> make a back-ported patch I can use with 8.4 in Fedora.

Go for it, but FYI, we need to udpate the our OOM documentation mention
to reflect this change.

--  Bruce Momjian  <bruce@momjian.us>        http://momjian.us EnterpriseDB
http://enterprisedb.com
 + If your life is a hard drive, Christ can be your backup. +


pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: damage control mode
Next
From: Markus Wanner
Date:
Subject: Re: Serializable Isolation without blocking