X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (neptune.hub.org [200.46.204.2]) by svr1.postgresql.org (Postfix) with ESMTP id 728AAD1CCCB for ; Mon, 15 Dec 2003 09:10:20 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (neptune.hub.org [200.46.204.2]) (amavisd-new, port 10024) with ESMTP id 10689-04 for ; Mon, 15 Dec 2003 05:09:54 -0400 (AST) Received: from oss4u.com (cpe-65-172-234-54.sanbrunocable.com [65.172.234.54]) by svr1.postgresql.org (Postfix) with SMTP id 11035D1B467 for ; Mon, 15 Dec 2003 05:09:52 -0400 (AST) Received: (qmail 10391 invoked from network); 15 Dec 2003 09:09:23 -0000 Received: from unknown (HELO tiburon.oss4u.com) (192.168.1.4) by gw.oss4u.com (192.168.1.1) with ESMTP; 15 Dec 2003 09:09:23 -0000 From: "Uwe C. Schroeder" Organization: OSS4U, LLC To: "Ganesan Kanavathy" , Subject: Re: Shutdown pg db Date: Mon, 15 Dec 2003 01:09:53 -0800 User-Agent: KMail/1.5 References: <003301c3c2e7$f355b460$5400a8c0@headquarters.mq.com> In-Reply-To: <003301c3c2e7$f355b460$5400a8c0@headquarters.mq.com> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Description: clearsigned data Content-Disposition: inline Message-Id: <200312150109.53153.uwe@oss4u.com> X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200312/187 X-Sequence-Number: 11694 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 NEVER kill -9 a postmaster Althoug funny enough it pretty often tolerates that kind of killing, it wil= l=20 not allow the process to properly shut down the database. So you may or may= =20 not be lucky to end up with a good database. Use something like /usr/bin/pg_ctl stop -D $PGDATA -s -m fast if you have to kick out current database connections and not wait for them = to=20 finish. UC On Monday 15 December 2003 12:46 am, Ganesan Kanavathy wrote: > How to properly shutdown pg db server? > > Is the below command safe to shutdown the pg db server? > > #killall -9 postmaster > > pg_ctl does not seems work on server? > > Regards, > Ganesan - -- Open Source Solutions 4U, LLC 2570 Fleetwood Drive Phone: +1 650 872 2425 San Bruno, CA 94066 Cell: +1 650 302 2405 United States Fax: +1 650 872 2417 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQE/3XphjqGXBvRToM4RAlkyAJ9eWfVCfmQ+igPOKn2lw0mvbkfYMACfSTXf anWNcf1qnT5x86ZHG0GqQZ8=3D =3DX7IT -----END PGP SIGNATURE-----