Re: BUG #9721: Fatal error on startup: no free slots in PMChildFlags array

From: Daniel Hahler <postgresql(at)thequod(dot)de>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Alvaro Herrera <alvherre(at)2ndquadrant(dot)com>, pgsql-bugs(at)postgresql(dot)org
Subject: Re: BUG #9721: Fatal error on startup: no free slots in PMChildFlags array
Date: 2014-03-25 18:04:00
Message-ID: 5331C510.5050706@thequod.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

On 25.03.2014 17:26, Tom Lane wrote:
> Daniel Hahler <postgresql(at)thequod(dot)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/

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Martin Vassilev 2014-03-26 07:55:21 Re: BUG #9722: select ILIKE is not case insensitive in UTF8 cyrillic
Previous Message Rainer Tammer 2014-03-25 16:39:52 Re: Problem with PostgreSQL 9.2.7 and make check on AIX 7.1