From: Glyn Astill <glynastill@yahoo.co.uk>
To: pgsql-admin@postgresql.org
Subject: Shutting down warm standby server? "
Date: Wed, 2 Jan 2008 03:33:11 -0800 (PST)
Message-ID: <211337.29479.qm@web25815.mail.ukl.yahoo.com> (raw)
Hi people,
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".
Can someone help please, I presume it has something to do with the
server being busy waiting for the next WAL file? What is the correct
way to shut down a server reading WALs?
The command line output is below:
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
If I do a ps -ax:
7956 pts/0 S 0:00 /usr/local/pgsql/bin/postgres -D
/data/postgres/
7957 ? Ss 0:10 postgres: startup process
7371 ? S 0:00 /bin/bash /data/postgres/restore.sh
/mnt/archive/000000010000001A000000A8 pg_xlog/RECOVERYXLOG
1160 ? S 0:00 sleep 1
1161 pts/0 R+ 0:00 ps -ax
it looks like it's waikting for the next WAL file.
__________________________________________________________
Sent from Yahoo! Mail - a smarter inbox http://uk.mail.yahoo.com
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: glynastill@yahoo.co.uk
Subject: Re: Shutting down warm standby server? "
In-Reply-To: <211337.29479.qm@web25815.mail.ukl.yahoo.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