Received: from maia.hub.org (maia-3.hub.org [200.46.204.243]) by mail.postgresql.org (Postfix) with ESMTP id 60EFB1337B6E for ; Thu, 27 Jan 2011 13:09:50 -0400 (AST) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.243]) (amavisd-maia, port 10024) with ESMTP id 59372-05 for ; Thu, 27 Jan 2011 17:09:43 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from momjian.us (momjian.us [70.90.9.53]) by mail.postgresql.org (Postfix) with ESMTP id E5D291337B5E for ; Thu, 27 Jan 2011 13:09:42 -0400 (AST) Received: (from bruce@localhost) by momjian.us (8.11.6/8.11.6) id p0RH9f421528; Thu, 27 Jan 2011 12:09:41 -0500 (EST) From: Bruce Momjian Message-Id: <201101271709.p0RH9f421528@momjian.us> Subject: Re: pg_upgrade 8.3 to 9.0, shutdown is to slow In-Reply-To: To: Scott Marlowe Date: Thu, 27 Jan 2011 12:09:41 -0500 (EST) CC: Bernhard Schrader , Kevin Grittner , pgsql-admin@postgresql.org X-Mailer: ELM [version 2.4ME+ PL124 (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="US-ASCII" X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.91 tagged_above=-10 required=5 tests=BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01 X-Spam-Level: X-Archive-Number: 201101/170 X-Sequence-Number: 36610 Scott Marlowe wrote: > > My initial reaction is that something is wrong with your system, either > > the I/O or the way it is being shutdown by the script. ?I would start to > > look in the script and do some pg_ctl tests starting/stopping the > > server. > > It could be that his application or whatever is making connections > while he's trying to do this. An open connection that's actually > doing something will stop a normal shutdown. > > Is there a reason the pg upgrade script does not use -m fast? Uh, well, I assume that the person has already shut down all db connections, and opened it only for super-users. If the system is not shutting down, that should signal to the user that they have not locked down the system properly. We would not want someone to connect during pg_upgrade processing, and doing -m fast is not going to help with that. -- Bruce Momjian http://momjian.us EnterpriseDB http://enterprisedb.com + It's impossible for everything to be true. +