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

From Joshua D. Drake
Subject Re: Setting oom_adj on linux?
Date
Msg-id 85a5f8fd12ab571b21e7863f64424761@commandprompt.com
Whole thread Raw
In response to Re: Setting oom_adj on linux?  (Magnus Hagander <magnus@hagander.net>)
List pgsql-hackers
On Mon, 4 Jan 2010 16:57:28 +0100, Magnus Hagander <magnus@hagander.net>
wrote:
> On Mon, Jan 4, 2010 at 16:45, Alvaro Herrera
<alvherre@commandprompt.com>
> wrote:
>> Magnus Hagander wrote:
>>> I realize this is a very platform-specific thing, but should we
>>> consider setting the value of /proc/<pid>/oom_adj when running on
>>> linux? See:
>>
>>
http://archives.postgresql.org/message-id/20080201223336.GC24780%40alvh.no-ip.org
>
> Grr. I had zero recollectoin of that :S
>
> Can't find a useful consensus though?

I don't think we should set a setting like that automatically. Perhaps a
warning on startup?

Joshua D. Drake

--
PostgreSQL - XMPP: jdrake(at)jabber(dot)postgresql(dot)org
   Consulting, Development, Support, Training
   503-667-4564 - http://www.commandprompt.com/
   The PostgreSQL Company, serving since 1997


pgsql-hackers by date:

Previous
From: Magnus Hagander
Date:
Subject: Re: Setting oom_adj on linux?
Next
From: Andrew Dunstan
Date:
Subject: Re: Setting oom_adj on linux?