Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1WSSAO-0001bS-8p for pgsql-bugs@arkaria.postgresql.org; Tue, 25 Mar 2014 14:17:24 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1WSSAN-0000OT-PW for pgsql-bugs@arkaria.postgresql.org; Tue, 25 Mar 2014 14:17:23 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1WSQ1W-0005cD-76 for pgsql-bugs@postgresql.org; Tue, 25 Mar 2014 12:00:06 +0000 Received: from wrigleys.postgresql.org ([204.145.124.246]) by magus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1WSQ1S-0003mS-MB for pgsql-bugs@postgresql.org; Tue, 25 Mar 2014 12:00:05 +0000 MIME-Version: 1.0 Subject: BUG #9721: Fatal error on startup: no free slots in PMChildFlags array To: pgsql-bugs@postgresql.org From: postgresql@thequod.de Date: Tue, 25 Mar 2014 11:59:30 +0000 Message-ID: <20140325115930.17060.24684@wrigleys.postgresql.org> X-Pg-Spam-Score: -1.9 (-) Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit 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 The following bug has been logged on the website: Bug reference: 9721 Logged by: Daniel Hahler Email address: postgresql@thequod.de PostgreSQL version: 9.3.3 Operating system: Debian Description: 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 I have found that the source code says that this should never happen: /* Out of slots ... should never happen, else postmaster.c messed up */ elog(FATAL, "no free slots in PMChildFlags array"); Another attempt at starting it worked: 2014-03-25 12:38:43 CET LOG: database system was interrupted; last known up at 2014-03-24 18:22:38 CET 2014-03-25 12:38:43 CET LOG: database system was not properly shut down; automatic recovery in progress 2014-03-25 12:38:43 CET LOG: incomplete startup packet 2014-03-25 12:38:44 CET LOG: record with zero length at 0/7843020 2014-03-25 12:38:44 CET LOG: redo is not required 2014-03-25 12:38:44 CET LOG: autovacuum launcher started 2014-03-25 12:38:44 CET LOG: database system is ready to accept connections I am using 9.3.3-1.pgdg70+1 from http://apt.postgresql.org/pub/repos/apt/ on a Debian Wheezy system, running in an OpenVZ container. I have just now noticed that 9.3.4 has been released, and upgraded to it. I am sorry if that's something that has been fixed in that update already. Thanks! -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs