pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Pavel Suderevsky <psuderevsky@gmail.com>
Cc: pgsql-bugs@postgresql.org, Aleksey Romanov <drednout.by@gmail.com>
Subject: Re: PosgreSQL backend process crashed with signal 9
Date: Wed, 06 Apr 2016 10:46:53 -0400
Message-ID: <30504.1459954013@sss.pgh.pa.us> (raw)
In-Reply-To: <CAEBTBzuuSR7X70sK_iVmVLg-yhOAABG3Yrbdj+jhN=-yvx9eYQ@mail.gmail.com>
References: <CAEBTBzuuSR7X70sK_iVmVLg-yhOAABG3Yrbdj+jhN=-yvx9eYQ@mail.gmail.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>

Pavel Suderevsky <psuderevsky@gmail.com> writes:
> I've faced similar behaviour in much more simple situation. It crashed on
> simple nested loop. And all other child postmaster processes were
> terminated likewise.

>> 2016-04-05 18:37:31 MSK  LOG:  server process (PID 2848) was terminated by
>> signal 9: Killed

Well, signal 9 is not an internal-to-Postgres error; that's something
outside the database killing the process.  If you're on a Linux machine
it's most likely the dreaded OOM killer doing it.  The usual
recommendation is to configure your system to reduce or eliminate
memory overcommit:

http://www.postgresql.org/docs/9.5/static/kernel-resources.html#LINUX-MEMORY-OVERCOMMIT

The OP's log did not indicate a signal 9, though --- that was SIGSEGV
(sig 11, typically).

			regards, tom lane


-- 
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs



view thread (8+ messages)  latest in thread

Message-ID: <30504.1459954013@sss.pgh.pa.us>
Permalink:  ../30504.1459954013@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/30504.1459954013@sss.pgh.pa.us

 · 

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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-bugs@postgresql.org
  Cc: tgl@sss.pgh.pa.us, psuderevsky@gmail.com, drednout.by@gmail.com
  Subject: Re: PosgreSQL backend process crashed with signal 9
  In-Reply-To: <30504.1459954013@sss.pgh.pa.us>
  References: <CAEBTBzuuSR7X70sK_iVmVLg-yhOAABG3Yrbdj+jhN=-yvx9eYQ@mail.gmail.com> <30504.1459954013@sss.pgh.pa.us>

* 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