From: Alvaro Herrera <alvherre@2ndquadrant.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: postgresql@thequod.de
Cc: pgsql-bugs@postgresql.org
Subject: Re: BUG #9721: Fatal error on startup: no free slots in PMChildFlags array
Date: Tue, 25 Mar 2014 11:36:47 -0300
Message-ID: <20140325143647.GE9567@eldon.alvh.no-ip.org> (raw)
In-Reply-To: <13133.1395757616@sss.pgh.pa.us>
References: <20140325115930.17060.24684@wrigleys.postgresql.org>
<13133.1395757616@sss.pgh.pa.us>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>
Tom Lane wrote:
> 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.
Here's my guess --- this is a virtualized system that somehow dumped
some state to disk to hibernate while the host was being rebooted; and
then, when the host was up again, it tried to resurrect the virtual
machine and found things to be all inconsistent.
--
Álvaro Herrera http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Training & Services
--
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-bugs@postgresql.org
Cc: alvherre@2ndquadrant.com, tgl@sss.pgh.pa.us, postgresql@thequod.de
Subject: Re: BUG #9721: Fatal error on startup: no free slots in PMChildFlags array
In-Reply-To: <20140325143647.GE9567@eldon.alvh.no-ip.org>
References: <20140325115930.17060.24684@wrigleys.postgresql.org> <13133.1395757616@sss.pgh.pa.us> <20140325143647.GE9567@eldon.alvh.no-ip.org>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox