Received: from localhost (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id 864F047597B; Tue, 13 Aug 2002 13:53:23 -0400 (EDT) Received: from sss.pgh.pa.us (unknown [192.204.191.242]) by postgresql.org (Postfix) with ESMTP id F196A475821; Tue, 13 Aug 2002 13:53:22 -0400 (EDT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.12.5/8.12.5) with ESMTP id g7DHrEVk027748; Tue, 13 Aug 2002 13:53:14 -0400 (EDT) To: "Chad R. Larson" Cc: "Robert M. Meyer" , nickf@ontko.com, pgsql-jdbc , pgsql-admin Subject: Re: Leftover processes on shutdown - Debian+JDBC In-reply-to: <4.2.2.20020813103901.00abb840@ecint.ecinet.com> References: <4.2.2.20020813103901.00abb840@ecint.ecinet.com> Comments: In-reply-to "Chad R. Larson" message dated "Tue, 13 Aug 2002 10:44:32 -0700" Date: Tue, 13 Aug 2002 13:53:14 -0400 Message-ID: <27747.1029261194@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: by AMaViS new-20020517 X-Archive-Number: 200208/158 X-Sequence-Number: 5273 "Chad R. Larson" writes: > 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. Hmm. Could you look into it and figure out *why* it didn't work? It's possible that this Solaris configuration has the same kind of kernel bug that was recently reported against Mac OSX 10.1: normal postmaster shutdown fails during system shutdown because fork() stops working, thus the postmaster cannot launch a checkpoint subprocess to clean up. (I'm not certain that fork itself is the issue in OSX, but the behavior was definitely that the checkpoint subprocess never got dispatched, even though the postmaster got a success return from fork...) regards, tom lane