pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Laurette Cisneros <laurette@nextbus.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: server won't shutdown
Date: Wed, 12 Feb 2003 03:04:07 -0500
Message-ID: <1928.1045037047@sss.pgh.pa.us> (raw)
In-Reply-To: <Pine.LNX.4.44.0302111248570.30523-100000@visor.corp.nextbus.com>
References: <Pine.LNX.4.44.0302111248570.30523-100000@visor.corp.nextbus.com>

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



view thread (17+ messages)  latest in thread

Message-ID: <1928.1045037047@sss.pgh.pa.us>
Permalink:  ../1928.1045037047@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/1928.1045037047@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, laurette@nextbus.com
  Subject: Re: server won't shutdown
  In-Reply-To: <1928.1045037047@sss.pgh.pa.us>
  References: <Pine.LNX.4.44.0302111248570.30523-100000@visor.corp.nextbus.com> <1928.1045037047@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