pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Chad R. Larson <clarson@eldocomp.com>
To: nickf@ontko.com
To: pgsql-admin <pgsql-admin@postgresql.org>
Subject: Re: Leftover processes on shutdown - Debian+JDBC
Date: Wed, 14 Aug 2002 14:24:29 -0700
Message-ID: <4.2.2.20020814142044.00a79bc0@ecint.ecinet.com> (raw)
In-Reply-To: <NEBBLAAHGLEEPCGOBHDGOECBFJAA.nickf@ontko.com>
References: <1029257778.1135.616.camel@linda>

At 12:48 PM 8/14/02 , Nick Fankhauser wrote:
>Then I tried changing "smart" to "fast", and did the same two tests. The 
>results were exactly the same, so apparently "fast" mode does not forcibly 
>disconnect clients as the Docs state.

As best I can tell, with "smart" the backend waits for the connection to go 
away, "fast" waits for the current transaction to complete and then exits, 
and with "immediate" the backend croaks right away (forcing a rollback and 
recovery on the next start up).

If your Java servlet has requested some transaction that takes a =very= 
long time to run, you'd see what you see.


         -crl
--
Chad R. Larson (CRL22)    chad@eldocomp.com
   Eldorado Computing, Inc.   602-604-3100
      5353 North 16th Street, Suite 400
        Phoenix, Arizona   85016-3228




view thread (17+ messages)  latest in thread

Message-ID: <4.2.2.20020814142044.00a79bc0@ecint.ecinet.com>
Permalink:  ../4.2.2.20020814142044.00a79bc0@ecint.ecinet.com/
Also on:    postgresql.org/message-id/4.2.2.20020814142044.00a79bc0@ecint.ecinet.com

 · 

reply

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: clarson@eldocomp.com, nickf@ontko.com
  Subject: Re: Leftover processes on shutdown - Debian+JDBC
  In-Reply-To: <4.2.2.20020814142044.00a79bc0@ecint.ecinet.com>
  References: <1029257778.1135.616.camel@linda> <4.2.2.20020814142044.00a79bc0@ecint.ecinet.com>

* 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