X-Original-To: pgsql-admin@postgresql.org Received: from localhost (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id 926C8475458 for ; Wed, 19 Feb 2003 12:53:28 -0500 (EST) Received: from mta10.adelphia.net (unknown [64.8.50.202]) by postgresql.org (Postfix) with ESMTP id 06603475425 for ; Wed, 19 Feb 2003 12:53:28 -0500 (EST) Received: from bingo ([68.70.98.78]) by mta10.adelphia.net (InterMail vM.5.01.05.25 201-253-122-126-125-20021216) with ESMTP id <20030219175333.XEJP13747.mta10.adelphia.net@bingo>; Wed, 19 Feb 2003 12:53:33 -0500 Content-Type: text/plain; charset="utf-8" From: "Ed L." To: Tom Lane , "Ed L." , Laurette Cisneros Subject: Re: server won't shutdown Date: Wed, 19 Feb 2003 10:54:23 -0700 User-Agent: KMail/1.4.3 Cc: pgsql-admin@postgresql.org References: <17332.1045534368@sss.pgh.pa.us> <20307.1045537577@sss.pgh.pa.us> In-Reply-To: <20307.1045537577@sss.pgh.pa.us> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Message-Id: <200302191054.23651.pgsql@bluepolka.net> X-Virus-Scanned: by AMaViS new-20020517 X-Archive-Number: 200302/311 X-Sequence-Number: 7509 On Monday February 17 2003 8:06, Tom Lane wrote: > > You can demonstrate the problem by doing 'LISTEN foo' in one psql > and then 'NOTIFY foo' in another, then attempting a fast shutdown > --- the first psql's backend will ignore you until the psql session > does something. The same path can be followed without LISTEN if the > first psql is simply left idle while the second one does a bunch of > catalog-updating work (a few cycles of VACUUM ANALYZE usually > suffice). Thanks, Tom. Your diagnosis sounds consistent with our experience. I=20 was able to reproduce it with the latter approach of running a bunch=20 of VACUUM ANALYZE commands. However, I have been unable to=20 demonstrate this on 7.3.1 using the following sequence: session #1 launches psql session #2 launches psql session #1 does "listen foo;" session #2 does "notify foo;" session #3 does a fast shutdown; All backends immediately shutdown, no hanging. Anyway, I'm applying the patch and will advise if any further issues=20 show up. Ed