From: Tom Lane <tgl@sss.pgh.pa.us>
To: Andres Freund <andres@anarazel.de>
Cc: Alvaro Herrera <alvherre@2ndquadrant.com>
Cc: Pg Hackers <pgsql-hackers@lists.postgresql.org>
Subject: Re: assertion at postmaster start
Date: Mon, 17 Jun 2019 13:38:54 -0400
Message-ID: <10852.1560793134@sss.pgh.pa.us> (raw)
In-Reply-To: <20190617172819.k3kq6jboo6toe42d@alap3.anarazel.de>
References: <20190615160950.GA31378@alvherre.pgsql>
<20190617172819.k3kq6jboo6toe42d@alap3.anarazel.de>
Andres Freund <andres@anarazel.de> writes:
> On 2019-06-15 12:09:50 -0400, Alvaro Herrera wrote:
>> Once in a blue moon I get this assertion failure on server start:
>> TRAP: FailedAssertion(«!(AbortStartTime == 0)», Archivo: «/pgsql/source/master/src/backend/postmaster/postmaster.c», Línea: 2957)
> And "server process" is afaict only used for actual backends, not other
> types of processes. But we've not yet seen "database system is ready to
> accept accept connections", so IIRC it could only be a "dead_end" type
> backend? But we didn't yet see an error from that...
> Seems to indicate a logic error in postmaster's state machine. Perhaps
> something related to dead_end processes?
So if Andres is guessing right, this must be from something trying to
connect before the postmaster is ready? Seems like that could be
tested for ...
regards, tom lane
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-hackers@postgresql.org
Cc: tgl@sss.pgh.pa.us, andres@anarazel.de, alvherre@2ndquadrant.com
Subject: Re: assertion at postmaster start
In-Reply-To: <10852.1560793134@sss.pgh.pa.us>
References: <20190615160950.GA31378@alvherre.pgsql> <20190617172819.k3kq6jboo6toe42d@alap3.anarazel.de> <10852.1560793134@sss.pgh.pa.us>
* 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