pg.ddx.io pgsql-performance@postgresql.org mailing list archive
help / color / mirror / Atom feed From: Richard Huxton <dev@archonet.com>
To: Craig A. James <cjames@modgraph-usa.com>
Cc: Russell Smith <mr-russ@pws.com.au>
Cc: pgsql-performance@postgresql.org
Subject: Re: Postgres server crash
Date: Thu, 16 Nov 2006 17:09:45 +0000
Message-ID: <455C9B59.7000402@archonet.com> (raw )
In-Reply-To: <455C993E.5050403@modgraph-usa.com >
References: <ce4072df0610201305u7836dc7bn437ec0aaf1c3e25f@mail.gmail.com >
<b42b73150610201811m84369f7kc7d58b39aed3ad73@mail.gmail.com >
<ce4072df0610230810t5d66bbb8xf1e9c0ed71b6b6c0@mail.gmail.com >
<20061023215913.GW26892@nasby.net >
<ce4072df0610240617s72f35540odd3d4e0903313b63@mail.gmail.com >
<20061025001709.GA26892@nasby.net >
<453EF7C4.2040105@modgraph-usa.com >
<455BCAE8.8010905@modgraph-usa.com >
<455BCCCD.2020701@pws.com.au >
<455C420D.8090209@archonet.com >
<455C993E.5050403@modgraph-usa.com >
Craig A. James wrote:
> 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?
Out Of Memory
> 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, then kill your process if you tried
> to use it.
That's 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.
Indeed. See the manuals for details. Section 16.4.3
http://www.postgresql.org/docs/8.1/static/kernel-resources.html#AEN18128
--
Richard Huxton
Archonet Ltd
view thread (30+ messages) latest in thread
Message-ID: <455C9B59.7000402@archonet.com>
Permalink: ../455C9B59.7000402@archonet.com/
Also on: postgresql.org/message-id/455C9B59.7000402@archonet.com
copy link · copy postgr.es
reply Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-performance@postgresql.org
Cc: dev@archonet.com, cjames@modgraph-usa.com, mr-russ@pws.com.au
Subject: Re: Postgres server crash
In-Reply-To: <455C9B59.7000402@archonet.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox