Re: pg_upgrade 8.3 to 9.0, shutdown is to slow - Mailing list pgsql-admin

From Bruce Momjian
Subject Re: pg_upgrade 8.3 to 9.0, shutdown is to slow
Date
Msg-id 201101271709.p0RH9f421528@momjian.us
Whole thread Raw
In response to Re: pg_upgrade 8.3 to 9.0, shutdown is to slow  (Scott Marlowe <scott.marlowe@gmail.com>)
Responses Re: pg_upgrade 8.3 to 9.0, shutdown is to slow
List pgsql-admin
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  <bruce@momjian.us>        http://momjian.us
  EnterpriseDB                             http://enterprisedb.com

  + It's impossible for everything to be true. +

pgsql-admin by date:

Previous
From: Scott Marlowe
Date:
Subject: Re: pg_upgrade 8.3 to 9.0, shutdown is to slow
Next
From: "Frank Brendel"
Date:
Subject: asm/ia64regs.h not found on FreeBSD 8.1 IA64