Re: PG Killed by OOM Condition - Mailing list pgsql-hackers

From Tom Lane
Subject Re: PG Killed by OOM Condition
Date
Msg-id 21925.1128348965@sss.pgh.pa.us
Whole thread Raw
In response to PG Killed by OOM Condition  ("John Hansen" <john@geeknet.com.au>)
List pgsql-hackers
"John Hansen" <john@geeknet.com.au> writes:
> Might it be worth while protecting the postmaster from an OOM Kill on
> Linux by setting /proc/{pid}/oom_adj to -17 ?
> (Described vaguely in mm/oom_kill.c)

(a) wouldn't that require root privilege?  (b) how would we determine
whether we are on a system to which this applies?  (c) is it actually
documented in a way that makes you think it'll be a permanently
supported feature (ie, somewhere outside the source code)?
        regards, tom lane


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Last call for back-branch fixes
Next
From: Tom Lane
Date:
Subject: Re: External Sort timing debug statements