Re: Preventing OOM kills

From: John R Pierce <pierce(at)hogranch(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: Preventing OOM kills
Date: 2011-05-25 01:01:31
Message-ID: 4DDC54EB.1020104@hogranch.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 05/24/11 5:50 PM, Andrej wrote:
> Add more RAM? Look at tunables for other processes on
> the machine? At the end of the day making the kernel shoot
> anything out of despair shouldn't be the done thing.

somehow, 'real' unix has neither a OOMkiller nor does it flat out die
under heavy loads, it just degrades gracefully. I've seen Solaris and
AIX and BSD servers happily chugging along with load factors in the
100s, significant portions of memory paging, etc, without completely
crumbling to a halt. Soimetimes I wonder why Linux even pretends to
support virtual memory, as you sure don't want it to be paging.

--
john r pierce N 37, W 123
santa cruz ca mid-left coast

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Tim Uckun 2011-05-25 01:03:55 unable to restore. pg_restore: implied data-only restore
Previous Message Devrim GÜNDÜZ 2011-05-25 00:57:30 Re: Preventing OOM kills