Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1anox7-0008RK-5e for pgsql-bugs@arkaria.postgresql.org; Wed, 06 Apr 2016 15:01:05 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1anox6-0003PW-Ih for pgsql-bugs@arkaria.postgresql.org; Wed, 06 Apr 2016 15:01:04 +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 1anowT-0002eU-SD for pgsql-bugs@postgresql.org; Wed, 06 Apr 2016 15:00:26 +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 1anowN-0007gP-1x for pgsql-bugs@postgresql.org; Wed, 06 Apr 2016 15:00:24 +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 u36F0GGY032701; Wed, 6 Apr 2016 11:00:16 -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: <30504.1459954013@sss.pgh.pa.us> Comments: In-reply-to Pavel Suderevsky message dated "Wed, 06 Apr 2016 17:53:25 +0300" Date: Wed, 06 Apr 2016 11:00:16 -0400 Message-ID: <32700.1459954816@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: > Yes, OOM killer did the job, but is it normal that so lightweight query is > consuming so much memory that OOM-killer to be invoked? [ shrug... ] The OOM killer is widely considered broken. Its heuristics don't interact terribly well with processes using large amounts of shared memory. 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