Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1anojT-0007fC-PV for pgsql-bugs@arkaria.postgresql.org; Wed, 06 Apr 2016 14:46:59 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1anojT-00036y-7G for pgsql-bugs@arkaria.postgresql.org; Wed, 06 Apr 2016 14:46:59 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1anojS-00036r-Mi for pgsql-bugs@postgresql.org; Wed, 06 Apr 2016 14:46:58 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1anojO-0007R4-VR for pgsql-bugs@postgresql.org; Wed, 06 Apr 2016 14:46:57 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id u36EkrrS030505; Wed, 6 Apr 2016 10:46:53 -0400 From: Tom Lane To: Pavel Suderevsky cc: pgsql-bugs@postgresql.org, Aleksey Romanov Subject: Re: PosgreSQL backend process crashed with signal 9 In-reply-to: References: Comments: In-reply-to Pavel Suderevsky message dated "Wed, 06 Apr 2016 17:36:31 +0300" Date: Wed, 06 Apr 2016 10:46:53 -0400 Message-ID: <30504.1459954013@sss.pgh.pa.us> X-Pg-Spam-Score: -2.9 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org Pavel Suderevsky 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