Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1U6UjJ-0000Fx-5K for pgsql-bugs@arkaria.postgresql.org; Fri, 15 Feb 2013 23:30:10 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.72) (envelope-from ) id 1U6UjI-0004Jr-Dy for pgsql-bugs@arkaria.postgresql.org; Fri, 15 Feb 2013 23:30:08 +0000 Received: from makus.postgresql.org ([2001:4800:7903:4::125]) by malur.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1U6UGm-0001HY-M6 for pgsql-bugs@postgresql.org; Fri, 15 Feb 2013 23:00:40 +0000 Received: from digitaldogma.org ([69.12.222.85]) by makus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1U6UGg-0007br-RX for pgsql-bugs@postgresql.org; Fri, 15 Feb 2013 23:00:38 +0000 Received: from david by digitaldogma.org with local (Exim 4.72) (envelope-from ) id 1U6UNF-0004Vp-30; Fri, 15 Feb 2013 18:07:21 -0500 Date: Fri, 15 Feb 2013 18:07:20 -0500 From: David Thomas To: Tom Lane Cc: Bruce Momjian , pgsql-bugs@postgresql.org Subject: Re: BUG #7885: postmaster panic on startup does not release shared memory Message-ID: <20130215230719.GA17308@digitaldogma.org> Reply-To: david.thomas@enterprisedb.com References: <20130215204229.GE12030@momjian.us> <18017.1360965766@sss.pgh.pa.us> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <18017.1360965766@sss.pgh.pa.us> X-URL: http://enterprisedb.com X-Uptime: 18:04:38 up 138 days, 21:00, 1 user, load average: 0.02, 0.02, 0.05 X-Editor: Vim http://vim.org User-Agent: Mutt/1.5.20 (2009-06-14) X-SA-Exim-Connect-IP: X-SA-Exim-Mail-From: david.thomas@enterprisedb.com X-SA-Exim-Scanned: No (on digitaldogma.org); SAEximRunCond expanded to false X-Pg-Spam-Score: -1.2 (-) 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 On Fri, Feb 15, 2013 at 05:02:46PM -0500, Tom Lane wrote: > 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.) > Yup, if I attempt to start the cluster normally, it cleans up after itself, so this is specific to --single mode. -- David Thomas System Engineer EnterpriseDB - The Enterprise PostgreSQL Company -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs