From: Tom Lane <tgl@sss.pgh.pa.us>
To: Ed L. <pggeneral@bluepolka.net>
Cc: Laurette Cisneros <laurette@nextbus.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: server won't shutdown
Date: Mon, 17 Feb 2003 21:12:48 -0500
Message-ID: <17332.1045534368@sss.pgh.pa.us> (raw)
In-Reply-To: <200302171725.11546.pggeneral@bluepolka.net>
References: <Pine.LNX.4.44.0302171414350.20323-100000@visor.corp.nextbus.com>
<200302171647.42130.pgadmin@bluepolka.net>
<16389.1045526983@sss.pgh.pa.us>
<200302171725.11546.pggeneral@bluepolka.net>
"Ed L." <pggeneral@bluepolka.net> writes:
> On Monday February 17 2003 5:09, Tom Lane wrote:
>> Hm, I suddenly have a theory. Do you guys use LISTEN/NOTIFY in the
>> databases that are exhibiting the problem?
> Not using LISTEN/NOTIFY here, at least not of which I'm aware. I'll
> dig a little more and let you know if I find differently.
Oh, duh! You don't need to be using NOTIFY explicitly --- you just have
to sit idle long enough to make the SI buffer overflow, and the system
will try to NOTIFY your backend anyway to make it read the SI message
buffer. Which is the path I was looking at --- that will leave
ImmediateInterruptOK false, preventing response to SIGTERM if the client
still hasn't done anything by the time it comes.
Patch forthcoming.
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-admin@postgresql.org
Cc: tgl@sss.pgh.pa.us, pggeneral@bluepolka.net, laurette@nextbus.com
Subject: Re: server won't shutdown
In-Reply-To: <17332.1045534368@sss.pgh.pa.us>
References: <Pine.LNX.4.44.0302171414350.20323-100000@visor.corp.nextbus.com> <200302171647.42130.pgadmin@bluepolka.net> <16389.1045526983@sss.pgh.pa.us> <200302171725.11546.pggeneral@bluepolka.net> <17332.1045534368@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