pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Glyn Astill <glynastill@yahoo.co.uk>
Cc: pgsql-admin@postgresql.org
Subject: Re: Shutting down warm standby server? "
Date: Wed, 02 Jan 2008 11:31:15 -0500
Message-ID: <16132.1199291475@sss.pgh.pa.us> (raw)
In-Reply-To: <211337.29479.qm@web25815.mail.ukl.yahoo.com>
References: <211337.29479.qm@web25815.mail.ukl.yahoo.com>

Glyn Astill <glynastill@yahoo.co.uk> writes:
> I've setup a warm standby reading WAL files, however when I try to
> shut it down I get the message "server does not shut down".

> postgres@way5c:/mnt/archive$ /usr/local/pgsql/bin/pg_ctl stop -D
> /data/postgres/ -m smart
> waiting for server to shut
> down...............................................................
> failed
> pg_ctl: server does not shut down

Well, yeah, because you told it "-m smart" which is defined as "don't
exit until all work is done".  "-m fast" should work though, at least
in 8.2.x --- if you are using something older, try "-m immediate".

			regards, tom lane



view thread (3+ messages)  latest in thread

Message-ID: <16132.1199291475@sss.pgh.pa.us>
Permalink:  ../16132.1199291475@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/16132.1199291475@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 using the --to and --cc options:
  reply via email

  To: pgsql-admin@postgresql.org
  Cc: tgl@sss.pgh.pa.us, glynastill@yahoo.co.uk
  Subject: Re: Shutting down warm standby server? "
  In-Reply-To: <16132.1199291475@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