From: Tom Lane <tgl@sss.pgh.pa.us>
To: Chad R. Larson <clarson@eldocomp.com>
Cc: Robert M. Meyer <rmeyer@installs.com>
Cc: nickf@ontko.com, pgsql-jdbc <pgsql-jdbc@postgresql.org>
Cc: pgsql-admin <pgsql-admin@postgresql.org>
Subject: Re: Leftover processes on shutdown - Debian+JDBC
Date: Mon, 17 Feb 2003 22:41:55 -0500
Message-ID: <20480.1045539715@sss.pgh.pa.us> (raw)
In-Reply-To: <4.2.2.20020813103901.00abb840@ecint.ecinet.com>
References: <NEBBLAAHGLEEPCGOBHDGCENJFIAA.nickf@ontko.com>
<NEBBLAAHGLEEPCGOBHDGCENJFIAA.nickf@ontko.com>
<4.2.2.20020813103901.00abb840@ecint.ecinet.com>
"Chad R. Larson" <clarson@eldocomp.com> writes:
> At 08:25 AM 8/13/02 , Robert M. Meyer wrote:
>> I had the same problem. I rewrote my shutdown script to call 'pg_ctl -m
>> immediate'. So far, I haven't seen any damage because of it and we always
>> restart tomcat at some point in the middle of the night, anyway.
> We're running PostgreSQL as a backend to a J2SE server (with Macromedia
> JRun instead of Tomcat). When we converted our Sun Enterprise servers into
> a cluster (Veritas VCS) we had similar problems. We were using the "fast"
> option on a shutdown, but switchover in the cluster would hang until we
> changed the "fast" to "immediate". We'd prefer "fast", but it does not
> seem to work exactly as documented.
> Solaris 2.6, PostgreSQL 7.1.2, VCS 1.1.
FYI, I think the cause of this has finally been identified -- a client
that sits idle for long enough to let the SI buffer overrun means that
its connected backend will ignore "fast" shutdown requests for as long
as the client continues to do nothing. The bug exists in 7.1 through
current. I just posted a patch to pgsql-admin.
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, clarson@eldocomp.com, rmeyer@installs.com, pgsql-jdbc@postgresql.org
Subject: Re: Leftover processes on shutdown - Debian+JDBC
In-Reply-To: <20480.1045539715@sss.pgh.pa.us>
References: <NEBBLAAHGLEEPCGOBHDGCENJFIAA.nickf@ontko.com> <4.2.2.20020813103901.00abb840@ecint.ecinet.com> <20480.1045539715@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