Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1U6TMq-0002hc-Ac for pgsql-bugs@arkaria.postgresql.org; Fri, 15 Feb 2013 22:02:52 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.72) (envelope-from ) id 1U6TMp-0006J6-RY for pgsql-bugs@arkaria.postgresql.org; Fri, 15 Feb 2013 22:02:51 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1U6TMp-0006J1-AD for pgsql-bugs@postgresql.org; Fri, 15 Feb 2013 22:02:51 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1U6TMn-0008Vr-LW for pgsql-bugs@postgresql.org; Fri, 15 Feb 2013 22:02:51 +0000 Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.5/8.14.5) with ESMTP id r1FM2k0Q018018; Fri, 15 Feb 2013 17:02:47 -0500 (EST) From: Tom Lane To: Bruce Momjian cc: david.thomas@enterprisedb.com, pgsql-bugs@postgresql.org Subject: Re: BUG #7885: postmaster panic on startup does not release shared memory In-reply-to: <20130215204229.GE12030@momjian.us> References: <20130215204229.GE12030@momjian.us> Comments: In-reply-to Bruce Momjian message dated "Fri, 15 Feb 2013 15:42:29 -0500" Date: Fri, 15 Feb 2013 17:02:46 -0500 Message-ID: <18017.1360965766@sss.pgh.pa.us> X-Pg-Spam-Score: -1.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 Bruce Momjian writes: > When we panic, we PANIC, meaning we don't jump around looking for > cleanup stuff, which might make things worse. I think also there was some thought that we should intentionally leave the shmem segment around for debugging purposes. In any case, I believe the behavior complained of here is specific to --single mode, which is surely not a production scenario, thus even less reason to be concerned about it. (If a postmaster child panics, the postmaster will still shut down normally and thus release the shmem segment.) 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