pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
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: Tue, 13 Aug 2002 13:53:14 -0400
Message-ID: <27747.1029261194@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:
> 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



view thread (17+ messages)  latest in thread

Message-ID: <27747.1029261194@sss.pgh.pa.us>
Permalink:  ../27747.1029261194@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/27747.1029261194@sss.pgh.pa.us

 · 

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: 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: <27747.1029261194@sss.pgh.pa.us>
  References: <NEBBLAAHGLEEPCGOBHDGCENJFIAA.nickf@ontko.com> <4.2.2.20020813103901.00abb840@ecint.ecinet.com> <27747.1029261194@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