Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1WSXbK-0008VO-HR for pgsql-bugs@arkaria.postgresql.org; Tue, 25 Mar 2014 20:05:34 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1WSXbJ-0001oN-QZ for pgsql-bugs@arkaria.postgresql.org; Tue, 25 Mar 2014 20:05:33 +0000 Received: from makus.postgresql.org ([2001:4800:7903:4::125]) by malur.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1WSU6Y-0004ZB-Vj for pgsql-bugs@postgresql.org; Tue, 25 Mar 2014 16:21:35 +0000 Received: from hahler.de ([188.40.33.212] helo=elfe.thequod.de) by makus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1WSU6V-0001Tj-47 for pgsql-bugs@postgresql.org; Tue, 25 Mar 2014 16:21:34 +0000 Received: from localhost (amavis [10.122.1.24]) by elfe.thequod.de (Postfix) with ESMTP id 88DCA620A0; Tue, 25 Mar 2014 17:21:30 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=thequod.de; h= content-type:content-type:in-reply-to:references:subject:subject :mime-version:user-agent:from:from:date:date:message-id:received :received; s=postfix2; t=1395764489; bh=ZHQnkJ+pkFsDzahO/Zv8rOF7 0Dl5R9QEKzLUaZtDIcM=; b=CwJ88iptYoo4NiYC7SkaDg1RYebtm0Kf8mzxxUR7 gvHnX84zkfPLqSXlTL/e/vHq0sVBkMWex/WP5gImFmnQ4VFS+16G9RiRdoh3EhVC nE+Mry9cU7ntgNU/mSJv7zVncT8ojnMkjPr94RVJkgDmckMg2T0GRJV6buDXJ+wR lHM= X-Virus-Scanned: Debian amavisd-new at amavis.thequod.de Received: from elfe.thequod.de ([10.122.1.25]) by localhost (amavis.thequod.de [10.122.1.24]) (amavisd-new, port 10026) with ESMTP id yGrEiLJCtTIF; Tue, 25 Mar 2014 17:21:29 +0100 (CET) Received: from lenny.thequod.de (91-65-218-186-dynip.superkabel.de [91.65.218.186]) (Authenticated sender: daniel@hahler.de) by elfe.thequod.de (Postfix) with ESMTPSA; Tue, 25 Mar 2014 17:21:29 +0100 (CET) Message-ID: <5331AD07.9070107@thequod.de> Date: Tue, 25 Mar 2014 17:21:27 +0100 From: Daniel Hahler User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.4.0 MIME-Version: 1.0 To: Tom Lane CC: Alvaro Herrera , pgsql-bugs@postgresql.org Subject: Re: BUG #9721: Fatal error on startup: no free slots in PMChildFlags array References: <20140325115930.17060.24684@wrigleys.postgresql.org> <13133.1395757616@sss.pgh.pa.us> <20140325143647.GE9567@eldon.alvh.no-ip.org> <53319E20.9030006@thequod.de> <16596.1395763373@sss.pgh.pa.us> In-Reply-To: <16596.1395763373@sss.pgh.pa.us> X-Enigmail-Version: 1.6 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="VUwxDuIkhWL7H1N1LbNvpjo3RQ2giIpFX" X-Pg-Spam-Score: -2.0 (--) 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 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --VUwxDuIkhWL7H1N1LbNvpjo3RQ2giIpFX Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On 25.03.2014 17:02, Tom Lane wrote: > Daniel Hahler writes: >> On 25.03.2014 15:36, Alvaro Herrera wrote: >>> 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): >=20 >>>> ... in short, I want to see the rest of the log not just this part. >=20 >> That was the whole log. >=20 > Oh. So actually, "failed to startup" was a complete misdescription, an= d > what you should've said was "it appeared to be running normally, but I > saw this burst of weird messages in the postmaster log, so I decided to= > restart it"? Sorry, "failed to startup" was a misdescription, because I did not rememb= er that OpenVZ suspends containers on reboots. I should have said "crashed half an hour after being resumed". I have not restarted PostgreSQL though, but started it when noticing that= it wasn't running (anymore). =46rom the logs (again): 2014-03-24 13:32:47 CET LOG: could not receive data from client: Connect= ion 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 noticed it, and started it: 2014-03-25 12:38:43 CET LOG: database system was interrupted; last known= up at 2014-03-24 18:22:38 CET If you expect more information from the logs (in case this happens again)= , I would appreciate some hint about what would be important to enable in= the configuration. Regards, Daniel. --=20 http://daniel.hahler.de/ --VUwxDuIkhWL7H1N1LbNvpjo3RQ2giIpFX Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.14 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iD8DBQFTMa0HfAK/hT/mPgARAoI0AJ9VFC3KQb4TmrO7NaODdzErOmtY0wCgx0eB HZ0kmQMpiRnoNx3Z5qdrJbo= =tTcH -----END PGP SIGNATURE----- --VUwxDuIkhWL7H1N1LbNvpjo3RQ2giIpFX--