Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dwY90-0000yq-8p for pgsql-hackers@arkaria.postgresql.org; Mon, 25 Sep 2017 18:30:14 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1dwY8z-0007L4-Ri for pgsql-hackers@arkaria.postgresql.org; Mon, 25 Sep 2017 18:30:13 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1dwY7Q-0003gJ-W9 for pgsql-hackers@postgresql.org; Mon, 25 Sep 2017 18:28:37 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1dwY7N-0004AH-NB for pgsql-hackers@postgresql.org; Mon, 25 Sep 2017 18:28:36 +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 v8PISTct000489; Mon, 25 Sep 2017 14:28:29 -0400 From: Tom Lane To: Robert Haas cc: Thomas Munro , Andres Freund , amul sul , PostgreSQL-development Subject: Re: Server crash due to SIGBUS(Bus Error) when trying to access the memory created using dsm_create(). In-reply-to: References: <25838.1471010881@sss.pgh.pa.us> <20170628230458.n5ehizmvhoerr5yq@alap3.anarazel.de> <26247.1506349378@sss.pgh.pa.us> Comments: In-reply-to Robert Haas message dated "Mon, 25 Sep 2017 12:13:27 -0400" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <487.1506364109.1@sss.pgh.pa.us> Content-Transfer-Encoding: quoted-printable Date: Mon, 25 Sep 2017 14:28:29 -0400 Message-ID: <488.1506364109@sss.pgh.pa.us> List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-hackers Precedence: bulk Sender: pgsql-hackers-owner@postgresql.org Robert Haas writes: > On Mon, Sep 25, 2017 at 10:22 AM, Tom Lane wrote: >> I think we don't really have a lot of choice. I propose applying this >> as far back as 9.6 --- anyone think differently? > +1. If applies to 9.5 and 9.4 without a lot of work, I think we > should apply it there as well, in case there is out-of-core use of DSM > (or, in 9.5, also of ParallelContext). Hmm, so I tested this patch on my RHEL6 box (kernel 2.6.32) and it immediately fell over with 2017-09-25 14:23:48.410 EDT [325] FATAL: could not resize shared memory se= gment "/PostgreSQL.1682054886" to 6928 bytes: Operation not supported during startup. I wonder whether we need to round off the request. regards, tom lane --=20 Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers