Received: from localhost (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id 9422047583E for ; Wed, 14 Aug 2002 17:24:31 -0400 (EDT) Received: from ecint.ecinet.com (smtp.eldocomp.com [205.159.99.3]) by postgresql.org (Postfix) with ESMTP id 169F04754A3 for ; Wed, 14 Aug 2002 17:24:31 -0400 (EDT) Received: from CHAD-WIN (chad-win.ecinet.com [192.168.22.228]) by ecint.ecinet.com with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2653.13) id Q72QD051; Wed, 14 Aug 2002 14:24:31 -0700 Message-Id: <4.2.2.20020814142044.00a79bc0@ecint.ecinet.com> X-Sender: clarson@ecint.ecinet.com X-Mailer: QUALCOMM Windows Eudora Pro Version 4.2.2 Date: Wed, 14 Aug 2002 14:24:29 -0700 To: , "pgsql-admin" From: "Chad R. Larson" Subject: Re: Leftover processes on shutdown - Debian+JDBC In-Reply-To: References: <1029257778.1135.616.camel@linda> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed X-Virus-Scanned: by AMaViS new-20020517 X-Archive-Number: 200208/184 X-Sequence-Number: 5299 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