From: Tom Lane <tgl@sss.pgh.pa.us>
To: Jeff Ross <jross@openvistas.net>
Cc: PostgreSQL <pgsql-general@postgresql.org>
Subject: Re: NOTIFY queue is at 66% and climbing...
Date: Wed, 13 Oct 2021 19:50:57 -0400
Message-ID: <712282.1634169057@sss.pgh.pa.us> (raw)
In-Reply-To: <c8d2f9b4-9739-a18c-565a-84749f9dcca8@openvistas.net>
References: <c8d2f9b4-9739-a18c-565a-84749f9dcca8@openvistas.net>
Jeff Ross <jross@openvistas.net> writes:
> On 10.15 I'm getting the following on a logically replicated server.
> 2021-10-13 18:49:39.792 EDT,,,213601,,6143c257.34261,64243,,2021-09-16
> 18:16:55 EDT,4/3914851,60709901,WARNING,01000,"NOTIFY queue is 66%
> full",,,,,,,,,""
> In the CSV logs above what part points to "the session that is
> preventing cleanup" so that I can kill it?
Normally there's a DETAIL entry citing the session's PID. Looking
at the code, the reason for the lack of any such entry must be that
there is no session whose current notify queue position exactly
matches the supposed global minimum position. This corresponds to
a known bug that was fixed in 10.16, so I'd suggest upgrading.
As a temporary workaround you could restart that server, but
likely the problem would recur after awhile.
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-general@postgresql.org
Cc: tgl@sss.pgh.pa.us, jross@openvistas.net
Subject: Re: NOTIFY queue is at 66% and climbing...
In-Reply-To: <712282.1634169057@sss.pgh.pa.us>
References: <c8d2f9b4-9739-a18c-565a-84749f9dcca8@openvistas.net> <712282.1634169057@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