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

From: Greg Stark <stark(at)mit(dot)edu>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: /proc/self/oom_adj is deprecated in newer Linux kernels
Date: 2011-09-16 15:46:34
Message-ID: CAM-w4HMsQpi_v=0NK34t3xKtpkJiadTD04Xhrr2_OP8YO+y1Nw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Fri, Sep 16, 2011 at 3:57 PM, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
> Does anyone want
> to argue for doing something more complicated, and if so what exactly?
>

Well there's no harm trying to write to oom_score_adj and if that
fails with EEXISTS trying to write to oom_adj.

--
greg

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2011-09-16 16:37:46 Re: /proc/self/oom_adj is deprecated in newer Linux kernels
Previous Message Matthew Wilcox 2011-09-16 15:36:20 Re: Improve lseek scalability v3