Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1WSSJg-000213-Bz for pgsql-bugs@arkaria.postgresql.org; Tue, 25 Mar 2014 14:27:00 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1WSSJf-0005Si-SU for pgsql-bugs@arkaria.postgresql.org; Tue, 25 Mar 2014 14:26:59 +0000 Received: from makus.postgresql.org ([2001:4800:7903:4::125]) by malur.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1WSSJf-0005Sc-4I for pgsql-bugs@postgresql.org; Tue, 25 Mar 2014 14:26:59 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1WSSJc-0007d7-Sc for pgsql-bugs@postgresql.org; Tue, 25 Mar 2014 14:26:58 +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 s2PEQuR7013134; Tue, 25 Mar 2014 10:26:56 -0400 From: Tom Lane To: postgresql@thequod.de cc: pgsql-bugs@postgresql.org Subject: Re: BUG #9721: Fatal error on startup: no free slots in PMChildFlags array In-reply-to: <20140325115930.17060.24684@wrigleys.postgresql.org> References: <20140325115930.17060.24684@wrigleys.postgresql.org> Comments: In-reply-to postgresql@thequod.de message dated "Tue, 25 Mar 2014 11:59:30 -0000" Date: Tue, 25 Mar 2014 10:26:56 -0400 Message-ID: <13133.1395757616@sss.pgh.pa.us> X-Pg-Spam-Score: -2.3 (--) 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 postgresql@thequod.de writes: > PostgreSQL just failed to startup after a reboot (which was forced via > remote Ctrl-Alt-Delete on the PostgreSQL's containers host): > 2014-03-24 13:32:47 CET LOG: could not receive data from client: Connection > reset by peer > 2014-03-25 12:32:17 CET FATAL: no free slots in PMChildFlags array > 2014-03-25 12:32:17 CET LOG: process 9975 releasing ProcSignal slot 108, > but it contains 0 > 2014-03-25 12:32:17 CET LOG: process 9974 releasing ProcSignal slot 109, > but it contains 0 > 2014-03-25 12:32:17 CET LOG: process 9976 releasing ProcSignal slot 110, > but it contains 0 That's odd (and as you say, unexpected) but this log extract doesn't give much clue as to how we got into this state. What was going on before this? In particular, it's hard to call this "failure to start up" when you evidently had a hundred or so postmaster child processes already. Could there have been some unexpected surge in the number of connection attempts just after the database came up? Also, this extract doesn't look like anything that would've caused the postmaster to decide to shut down again, so what happened after that? Or in short, I want to see the rest of the log not just this part. 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