Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1WSXb6-0008Qg-9Z for pgsql-bugs@arkaria.postgresql.org; Tue, 25 Mar 2014 20:05:20 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1WSXb5-0001VR-OV for pgsql-bugs@arkaria.postgresql.org; Tue, 25 Mar 2014 20:05:19 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1WSVho-0007YK-Hs for pgsql-bugs@postgresql.org; Tue, 25 Mar 2014 18:04:08 +0000 Received: from hahler.de ([188.40.33.212] helo=elfe.thequod.de) by magus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1WSVhk-0001yc-ED for pgsql-bugs@postgresql.org; Tue, 25 Mar 2014 18:04:08 +0000 Received: from localhost (amavis [10.122.1.24]) by elfe.thequod.de (Postfix) with ESMTP id CC822620FE; Tue, 25 Mar 2014 19:04:03 +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=1395770642; bh=3UJ2pEEkwAm7FZ+EozhHsfmC K7NSVk0L/dNqlhVtu1Y=; b=Mo4Se6LJtLVCyurcQwkxE/cc4XcPKGhE6VkwRU1D tfCq/6lDBrnbvOsYx0/IUbL4/EKGAYnQOebI7HDWxaayDW00Hh3FuYjv2xGLA3Ms QfGc1YljHJc6PCpnWPXfyeCuDZQlyTyTT1e+VgKfj4O5og19KvwksOuEcU1HAoa+ In4= 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 o1GDjoOj7lib; Tue, 25 Mar 2014 19:04:02 +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 19:04:02 +0100 (CET) Message-ID: <5331C510.5050706@thequod.de> Date: Tue, 25 Mar 2014 19:04:00 +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> <5331AD07.9070107@thequod.de> <17236.1395764818@sss.pgh.pa.us> In-Reply-To: <17236.1395764818@sss.pgh.pa.us> X-Enigmail-Version: 1.6 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="5GFUedqK85quKCflfPmgdagkqAs2xOwgj" 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) --5GFUedqK85quKCflfPmgdagkqAs2xOwgj Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On 25.03.2014 17:26, Tom Lane wrote: > Daniel Hahler writes: >> On 25.03.2014 17:02, Tom Lane wrote: >>> Oh. So actually, "failed to startup" was a complete misdescription, = and >>> 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"? >=20 >> Sorry, "failed to startup" was a misdescription, because I did not rem= ember that OpenVZ suspends containers on reboots. >> I should have said "crashed half an hour after being resumed". >=20 >> I have not restarted PostgreSQL though, but started it when noticing t= hat it wasn't running (anymore). >=20 > Well, your log doesn't show any evidence to support the claim that > Postgres wasn't running. We see some child processes having minor trou= ble > while exiting, and one that failed while trying to start up; the latter= > being strong evidence that the postmaster was still working at least. I've received the following error on 11:32:19 from a client app trying to= connect: OperationalError: could not connect to server: Connection refused Is the server running on host "10.122.x.x" and accepting TCP/IP connections on port x? > So in short, you haven't given us a complete description of what happen= ed. > What led you to decide you needed to restart Postgres? There was no Postgres process running in 'ps aux', and I only had to star= t, not restart it. Relevant entries from the shell history (llog is for syslog/messages): 47 12:32 ps aux 48 12:33 llog 52 12:33 less ~l/daemon.log 55 12:34 less ~l/postgresql/postgresql-9.3-main.log 56 12:34 ps aux 64 12:38 service postgresql start Regards, Daniel. --=20 http://daniel.hahler.de/ --5GFUedqK85quKCflfPmgdagkqAs2xOwgj 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/ iD8DBQFTMcUQfAK/hT/mPgARAnPSAJ0ddbOzvH5eJVfUZ93p/r5o6YTj8QCfS6d4 AcWJB5g0ZVJt4ATWsARrVlA= =4Qi/ -----END PGP SIGNATURE----- --5GFUedqK85quKCflfPmgdagkqAs2xOwgj--