Re: Leftover processes on shutdown - Debian+JDBC

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Chad R(dot) Larson" <clarson(at)eldocomp(dot)com>
Cc: "Robert M(dot) Meyer" <rmeyer(at)installs(dot)com>, nickf(at)ontko(dot)com, pgsql-jdbc <pgsql-jdbc(at)postgresql(dot)org>, pgsql-admin <pgsql-admin(at)postgresql(dot)org>
Subject: Re: Leftover processes on shutdown - Debian+JDBC
Date: 2002-08-13 17:53:14
Message-ID: 27747.1029261194@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin pgsql-jdbc

"Chad R. Larson" <clarson(at)eldocomp(dot)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

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Thomas O'Connell 2002-08-13 18:20:16 Re: performance tuning: shared_buffers, sort_mem; swap
Previous Message Chad R. Larson 2002-08-13 17:44:32 Re: Leftover processes on shutdown - Debian+JDBC

Browse pgsql-jdbc by date

  From Date Subject
Next Message Bruce Momjian 2002-08-13 18:26:12 NAMEDATALEN going to 64
Previous Message Chad R. Larson 2002-08-13 17:44:32 Re: Leftover processes on shutdown - Debian+JDBC