Re: /proc/self/oom_adj is deprecated in newer Linux kernels

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Christoph Berg <cb(at)df7cb(dot)de>
Cc: Robert Haas <robertmhaas(at)gmail(dot)com>, Gurjeet Singh <gurjeet(at)singh(dot)im>, Andres Freund <andres(at)anarazel(dot)de>, Peter Eisentraut <peter_e(at)gmx(dot)net>, PGSQL Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: /proc/self/oom_adj is deprecated in newer Linux kernels
Date: 2014-07-02 15:25:57
Message-ID: 3721.1404314757@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Christoph Berg <cb(at)df7cb(dot)de> writes:
> Re: Tom Lane 2014-07-01 <20654(dot)1404247905(at)sss(dot)pgh(dot)pa(dot)us>
>> Fair enough. I went for a minimum-change approach when hacking that
>> script, but we could change it some more in the name of readability.
>> Will do something about that.

> Thanks, it's much nicer now. There's one uglyness left though: The
> name PG_CHILD_OOM_SCORE_ADJ should match what actually gets passed to
> the backends,

Meh ... I don't find that to be important. Making a parallel with
PG_MASTER_OOM_SCORE_ADJ seemed more helpful here.

regards, tom lane

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Alvaro Herrera 2014-07-02 15:41:45 Re: 9.5 CF1
Previous Message Stephen Frost 2014-07-02 15:19:10 Re: 9.5 CF1