Re: Pre-allocation of shared memory ...

From: Alvaro Herrera <alvherre(at)dcc(dot)uchile(dot)cl>
To: Doug McNaught <doug(at)mcnaught(dot)org>
Cc: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Hans-Jürgen Schönig <hs(at)cybertec(dot)at>, pgsql-hackers(at)postgresql(dot)org, shridhar_daithankar(at)persistent(dot)co(dot)in
Subject: Re: Pre-allocation of shared memory ...
Date: 2003-06-11 23:42:56
Message-ID: 20030611234256.GJ1932@dcc.uchile.cl
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Wed, Jun 11, 2003 at 07:35:20PM -0400, Doug McNaught wrote:
> Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> writes:
>
> > Is there no sysctl way to disable such kills?
>
> The -ac kernel patches from Alan Cox have a sysctl to control memory
> overcommit--you can set it to track memory usage and fail allocations
> when memory runs out, rather than the random kill behavior. I'm not
> sure whether those have made it into the stock kernel yet, but the
> vendor kernels (such as Red Hat's) might have it too.

Yeah, I see it in the Mandrake kernel. But it's not in stock 2.4.19, so
you can't assume everybody has it.

--
Alvaro Herrera (<alvherre[a]dcc.uchile.cl>)
"¿Qué importan los años? Lo que realmente importa es comprobar que
a fin de cuentas la mejor edad de la vida es estar vivo" (Mafalda)

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 2003-06-12 01:42:28 Re: Static snapshot data
Previous Message Doug McNaught 2003-06-11 23:35:20 Re: Pre-allocation of shared memory ...