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

From Tom Lane
Subject Re: Setting oom_adj on linux?
Date
Msg-id 17917.1263074849@sss.pgh.pa.us
Whole thread Raw
In response to Re: Setting oom_adj on linux?  (Alex Hunsaker <badalex@gmail.com>)
List pgsql-hackers
Alex Hunsaker <badalex@gmail.com> writes:
> On Sat, Jan 9, 2010 at 14:06, Peter Eisentraut <peter_e@gmx.net> wrote:
>> If word of this gets out, every
>> server process on Linux will excuse itself from the OOM killer.  And
>> then the kernel guys will add another setting to override the process
>> preference.

> ... maybe it will convince them its time to fix the damn thing.
> Although postgres really is kind of special in this regard.

Yeah.  If they had saner handling of shared-memory accounting, maybe
there wouldn't be a need for us to kluge around the OOM logic.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Andrew Dunstan
Date:
Subject: Re: Setting oom_adj on linux?
Next
From: Robert Haas
Date:
Subject: Re: Add .gitignore files to CVS?