Re: Postgres server crash - Mailing list pgsql-performance

From Craig A. James
Subject Re: Postgres server crash
Date
Msg-id 455C993E.5050403@modgraph-usa.com
Whole thread Raw
In response to Re: Postgres server crash  (Richard Huxton <dev@archonet.com>)
Responses Re: Postgres server crash  (Richard Huxton <dev@archonet.com>)
Re: Postgres server crash  (Tom Lane <tgl@sss.pgh.pa.us>)
Re: Postgres server crash  (Ben <bench@silentmedia.com>)
List pgsql-performance
Russell Smith wrote:
>> For the third time today, our server has crashed...
>
> I would guess it's the linux OOM if you are running linux. You need to
> turn off killing of processes when you run out of memory.  Are you
> getting close to running out of memory?

Good suggestion, it was a memory leak in an add-on library that we plug in to the Postgres server.

OOM?  Can you give me a quick pointer to what this acronym stands for and how I can reconfigure it?  It sounds like a
"feature"old UNIX systems like SGI IRIX had, where the system would allocate virtual memory that it didn't really have,
thenkill your process if you tried to use it.  I.e. malloc() would never return NULL even if swap space was over
allocated. Is this what you're talking about?  Having this enabled on a server is deadly for reliability. 

Thanks,
Craig


pgsql-performance by date:

Previous
From: Richard Huxton
Date:
Subject: Re: Postgres server crash
Next
From: Richard Huxton
Date:
Subject: Re: Postgres server crash