pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Daniel Hahler <postgresql@thequod.de>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Alvaro Herrera <alvherre@2ndquadrant.com>
Cc: pgsql-bugs@postgresql.org
Subject: Re: BUG #9721: Fatal error on startup: no free slots in PMChildFlags array
Date: Tue, 25 Mar 2014 19:04:00 +0100
Message-ID: <5331C510.5050706@thequod.de> (raw)
In-Reply-To: <17236.1395764818@sss.pgh.pa.us>
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>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>

On 25.03.2014 17:26, Tom Lane wrote:
> Daniel Hahler <postgresql@thequod.de> 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"?
> 
>> Sorry, "failed to startup" was a misdescription, because I did not remember 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).
> 
> Well, your log doesn't show any evidence to support the claim that
> Postgres wasn't running.  We see some child processes having minor trouble
> 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 happened.
> What led you to decide you needed to restart Postgres?

There was no Postgres process running in 'ps aux', and I only had to start, 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.

-- 
http://daniel.hahler.de/

Attachments:

  signature.asc (application/pgp-signature, 254B) download

view thread (10+ messages)

Message-ID: <5331C510.5050706@thequod.de>
Permalink:  ../5331C510.5050706@thequod.de/
Also on:    postgresql.org/message-id/5331C510.5050706@thequod.de

 · 

reply

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: postgresql@thequod.de, tgl@sss.pgh.pa.us, alvherre@2ndquadrant.com
  Subject: Re: BUG #9721: Fatal error on startup: no free slots in PMChildFlags array
  In-Reply-To: <5331C510.5050706@thequod.de>
  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> <5331C510.5050706@thequod.de>

* 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