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

From Bruno Wolff III
Subject Re: PG Killed by OOM Condition
Date
Msg-id 20051025032039.GB16642@wolff.to
Whole thread Raw
In response to PG Killed by OOM Condition  ("John Hansen" <john@geeknet.com.au>)
Responses Re: PG Killed by OOM Condition
List pgsql-hackers
On Mon, Oct 03, 2005 at 23:03:06 +1000, John Hansen <john@geeknet.com.au> wrote:
> Good people,
> 
> Just had a thought!
> 
> 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)

Wouldn't it be better to use sysctl to tell the kernel not to over commit
memory in the first place?


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: [GENERAL] 'a' == 'a '
Next
From: Qingqing Zhou
Date:
Subject: Re: [PATCHES] Win32 CHECK_FOR_INTERRUPTS() performance