From: Laurette Cisneros <laurette@nextbus.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: pgsql-admin@postgresql.org
Subject: Re: server won't shutdown
Date: Wed, 12 Feb 2003 10:29:17 -0800 (PST)
Message-ID: <Pine.LNX.4.44.0302121027290.32587-100000@visor.corp.nextbus.com> (raw)
In-Reply-To: <1928.1045037047@sss.pgh.pa.us>
Sure.
I will attempt this on our development server which only occasionally has
this problem. If that won't reproduce it, I will attempt this on our
production server but that must be scheduled at a slow time - maybe Monday.
I'll send this info. once I've collected it.
Thanks for the help,
L.
On Wed, 12 Feb 2003, Tom Lane wrote:
> Laurette Cisneros <laurette@nextbus.com> writes:
> > When I do a shutdown:
> > $pgpath/bin/pg_ctl -D $datadir -m fast stop
> > the server will not completely shutdown.
>
> Hm. -m fast tells the postmaster to send SIGTERM to all the existing
> backends, and then quit when all the backends have quit. So your
> problem is that one or more backend processes isn't exiting in a timely
> fashion after receiving SIGTERM. It would be useful to see what these
> backends are doing. Can you attach to each one with gdb and get a stack
> trace?
>
> regards, tom lane
>
--
Laurette Cisneros, L.D.
The Database Group
(510) 420-3137
NextBus Information Systems, Inc.
www.nextbus.com
----------------------------------
"No man is wise enough by himself"
-- Titus Maccius Plautus
(254 Bc - 184 BC), Miles Gloriosus
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: laurette@nextbus.com, tgl@sss.pgh.pa.us
Subject: Re: server won't shutdown
In-Reply-To: <Pine.LNX.4.44.0302121027290.32587-100000@visor.corp.nextbus.com>
References: <1928.1045037047@sss.pgh.pa.us> <Pine.LNX.4.44.0302121027290.32587-100000@visor.corp.nextbus.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