pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
pg_upgrade from 9.0 to 9.1
4+ messages / 2 participants
[nested] [flat]

* pg_upgrade from 9.0 to 9.1
@ 2011-09-08 19:31 Bernhard Rohrer <graylion@sm-wg.net>
  2011-09-08 19:49 ` Re: pg_upgrade from 9.0 to 9.1 Bruce Momjian <bruce@momjian.us>
  0 siblings, 1 reply; 4+ messages in thread

From: Bernhard Rohrer @ 2011-09-08 19:31 UTC (permalink / raw)
  To: pgsql-admin

Hiya

running lucid 64 bit. When I try to start pg_upgrade I get the following 
output:

postgres@newcollab:/tmp$ /usr/lib/postgresql/9.1/bin/pg_upgrade -b 
/usr/lib/postgresql/9.0/bin -B /usr/lib/postgresql/9.1/bin 
-d/var/lib/postgresql/9.0/main -D /var/lib/postgresql/9.1/main
Performing Consistency Checks
-----------------------------
Checking current, bin, and data directories                 ok
Checking cluster versions                                   ok

and after this nothing. top shows pg_config running at a solid 20% CPU, 
ps gives the following output:

$ps aux | grep postg
postgres 15559  0.0  0.0  89660  2628 pts/0    S    19:39   0:00 su postgres
postgres 15560  0.0  0.0  11164  1964 pts/0    S    19:39   0:00 bash
postgres 21385  0.0  0.0  50600  2252 pts/0    S+   19:48   0:00 
/usr/lib/postgresql/9.1/bin/pg_upgrade -b /usr/lib/postgresql/9.0/bin -B 
/usr/lib/postgresql/9.1/bin -d/var/lib/postgresql/9.0/main -D 
/var/lib/postgresql/9.1/main
postgres 21390  0.0  0.0   4096   572 pts/0    S+   19:48   0:00 sh -c 
"/usr/lib/postgresql/9.1/bin/pg_config" --pkglibdir
postgres 21391 20.1  0.0   4096   576 pts/0    S+   19:48   0:10 /bin/sh 
/usr/lib/postgresql/9.1/bin/pg_config --pkglibdir

so far I have broken off after about 5 minutes. Has anybody seen this 
behaviour before?

Thanks!

Bernhard



^ permalink  raw  reply  [nested|flat] 4+ messages in thread

* Re: pg_upgrade from 9.0 to 9.1
  2011-09-08 19:31 pg_upgrade from 9.0 to 9.1 Bernhard Rohrer <graylion@sm-wg.net>
@ 2011-09-08 19:49 ` Bruce Momjian <bruce@momjian.us>
  2011-09-08 20:04   ` Re: pg_upgrade from 9.0 to 9.1 Bernhard Rohrer <graylion@sm-wg.net>
  0 siblings, 1 reply; 4+ messages in thread

From: Bruce Momjian @ 2011-09-08 19:49 UTC (permalink / raw)
  To: Bernhard Rohrer <graylion@sm-wg.net>; +Cc: pgsql-admin

Bernhard Rohrer wrote:
> Hiya
> 
> running lucid 64 bit. When I try to start pg_upgrade I get the following 
> output:
> 
> postgres@newcollab:/tmp$ /usr/lib/postgresql/9.1/bin/pg_upgrade -b 
> /usr/lib/postgresql/9.0/bin -B /usr/lib/postgresql/9.1/bin 
> -d/var/lib/postgresql/9.0/main -D /var/lib/postgresql/9.1/main
> Performing Consistency Checks
> -----------------------------
> Checking current, bin, and data directories                 ok
> Checking cluster versions                                   ok
> 
> and after this nothing. top shows pg_config running at a solid 20% CPU, 
> ps gives the following output:
> 
> $ps aux | grep postg
> postgres 15559  0.0  0.0  89660  2628 pts/0    S    19:39   0:00 su postgres
> postgres 15560  0.0  0.0  11164  1964 pts/0    S    19:39   0:00 bash
> postgres 21385  0.0  0.0  50600  2252 pts/0    S+   19:48   0:00 
> /usr/lib/postgresql/9.1/bin/pg_upgrade -b /usr/lib/postgresql/9.0/bin -B 
> /usr/lib/postgresql/9.1/bin -d/var/lib/postgresql/9.0/main -D 
> /var/lib/postgresql/9.1/main
> postgres 21390  0.0  0.0   4096   572 pts/0    S+   19:48   0:00 sh -c 
> "/usr/lib/postgresql/9.1/bin/pg_config" --pkglibdir
> postgres 21391 20.1  0.0   4096   576 pts/0    S+   19:48   0:10 /bin/sh 
> /usr/lib/postgresql/9.1/bin/pg_config --pkglibdir
> 
> so far I have broken off after about 5 minutes. Has anybody seen this 
> behaviour before?

Nope.  I remember someone else complaining that pg_controldata or
pg_config was stuck, but I couldn't figure out why.

-- 
  Bruce Momjian  <bruce@momjian.us>        http://momjian.us
  EnterpriseDB                             http://enterprisedb.com

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



^ permalink  raw  reply  [nested|flat] 4+ messages in thread

* Re: pg_upgrade from 9.0 to 9.1
  2011-09-08 19:31 pg_upgrade from 9.0 to 9.1 Bernhard Rohrer <graylion@sm-wg.net>
  2011-09-08 19:49 ` Re: pg_upgrade from 9.0 to 9.1 Bruce Momjian <bruce@momjian.us>
@ 2011-09-08 20:04   ` Bernhard Rohrer <graylion@sm-wg.net>
  2011-09-08 20:13     ` Re: pg_upgrade from 9.0 to 9.1 Bruce Momjian <bruce@momjian.us>
  0 siblings, 1 reply; 4+ messages in thread

From: Bernhard Rohrer @ 2011-09-08 20:04 UTC (permalink / raw)
  To: Bruce Momjian <bruce@momjian.us>; +Cc: pgsql-admin

On 08/09/11 20:49, Bruce Momjian wrote:
> Bernhard Rohrer wrote:
>> Hiya
>>
>> running lucid 64 bit. When I try to start pg_upgrade I get the following
>> output:
>>
>> postgres@newcollab:/tmp$ /usr/lib/postgresql/9.1/bin/pg_upgrade -b
>> /usr/lib/postgresql/9.0/bin -B /usr/lib/postgresql/9.1/bin
>> -d/var/lib/postgresql/9.0/main -D /var/lib/postgresql/9.1/main
>> Performing Consistency Checks
>> -----------------------------
>> Checking current, bin, and data directories                 ok
>> Checking cluster versions                                   ok
>>
>> and after this nothing. top shows pg_config running at a solid 20% CPU,
>> ps gives the following output:
>>
>> $ps aux | grep postg
>> postgres 15559  0.0  0.0  89660  2628 pts/0    S    19:39   0:00 su postgres
>> postgres 15560  0.0  0.0  11164  1964 pts/0    S    19:39   0:00 bash
>> postgres 21385  0.0  0.0  50600  2252 pts/0    S+   19:48   0:00
>> /usr/lib/postgresql/9.1/bin/pg_upgrade -b /usr/lib/postgresql/9.0/bin -B
>> /usr/lib/postgresql/9.1/bin -d/var/lib/postgresql/9.0/main -D
>> /var/lib/postgresql/9.1/main
>> postgres 21390  0.0  0.0   4096   572 pts/0    S+   19:48   0:00 sh -c
>> "/usr/lib/postgresql/9.1/bin/pg_config" --pkglibdir
>> postgres 21391 20.1  0.0   4096   576 pts/0    S+   19:48   0:10 /bin/sh
>> /usr/lib/postgresql/9.1/bin/pg_config --pkglibdir
>>
>> so far I have broken off after about 5 minutes. Has anybody seen this
>> behaviour before?
> Nope.  I remember someone else complaining that pg_controldata or
> pg_config was stuck, but I couldn't figure out why.
>
any debugging you want me to do? I am game.

cheers

B



^ permalink  raw  reply  [nested|flat] 4+ messages in thread

* Re: pg_upgrade from 9.0 to 9.1
  2011-09-08 19:31 pg_upgrade from 9.0 to 9.1 Bernhard Rohrer <graylion@sm-wg.net>
  2011-09-08 19:49 ` Re: pg_upgrade from 9.0 to 9.1 Bruce Momjian <bruce@momjian.us>
  2011-09-08 20:04   ` Re: pg_upgrade from 9.0 to 9.1 Bernhard Rohrer <graylion@sm-wg.net>
@ 2011-09-08 20:13     ` Bruce Momjian <bruce@momjian.us>
  0 siblings, 0 replies; 4+ messages in thread

From: Bruce Momjian @ 2011-09-08 20:13 UTC (permalink / raw)
  To: Bernhard Rohrer <graylion@sm-wg.net>; +Cc: pgsql-admin

Bernhard Rohrer wrote:
> On 08/09/11 20:49, Bruce Momjian wrote:
> > Bernhard Rohrer wrote:
> >> Hiya
> >>
> >> running lucid 64 bit. When I try to start pg_upgrade I get the following
> >> output:
> >>
> >> postgres@newcollab:/tmp$ /usr/lib/postgresql/9.1/bin/pg_upgrade -b
> >> /usr/lib/postgresql/9.0/bin -B /usr/lib/postgresql/9.1/bin
> >> -d/var/lib/postgresql/9.0/main -D /var/lib/postgresql/9.1/main
> >> Performing Consistency Checks
> >> -----------------------------
> >> Checking current, bin, and data directories                 ok
> >> Checking cluster versions                                   ok
> >>
> >> and after this nothing. top shows pg_config running at a solid 20% CPU,
> >> ps gives the following output:
> >>
> >> $ps aux | grep postg
> >> postgres 15559  0.0  0.0  89660  2628 pts/0    S    19:39   0:00 su postgres
> >> postgres 15560  0.0  0.0  11164  1964 pts/0    S    19:39   0:00 bash
> >> postgres 21385  0.0  0.0  50600  2252 pts/0    S+   19:48   0:00
> >> /usr/lib/postgresql/9.1/bin/pg_upgrade -b /usr/lib/postgresql/9.0/bin -B
> >> /usr/lib/postgresql/9.1/bin -d/var/lib/postgresql/9.0/main -D
> >> /var/lib/postgresql/9.1/main
> >> postgres 21390  0.0  0.0   4096   572 pts/0    S+   19:48   0:00 sh -c
> >> "/usr/lib/postgresql/9.1/bin/pg_config" --pkglibdir
> >> postgres 21391 20.1  0.0   4096   576 pts/0    S+   19:48   0:10 /bin/sh
> >> /usr/lib/postgresql/9.1/bin/pg_config --pkglibdir
> >>
> >> so far I have broken off after about 5 minutes. Has anybody seen this
> >> behaviour before?
> > Nope.  I remember someone else complaining that pg_controldata or
> > pg_config was stuck, but I couldn't figure out why.
> >
> any debugging you want me to do? I am game.

I would try running '/usr/lib/postgresql/9.1/bin/pg_config --pkglibdir'
manually with the servers down.

-- 
  Bruce Momjian  <bruce@momjian.us>        http://momjian.us
  EnterpriseDB                             http://enterprisedb.com

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



^ permalink  raw  reply  [nested|flat] 4+ messages in thread


end of thread, other threads:[~2011-09-08 20:13 UTC | newest]

Thread overview: 4+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2011-09-08 19:31 pg_upgrade from 9.0 to 9.1 Bernhard Rohrer <graylion@sm-wg.net>
2011-09-08 19:49 ` Bruce Momjian <bruce@momjian.us>
2011-09-08 20:04   ` Bernhard Rohrer <graylion@sm-wg.net>
2011-09-08 20:13     ` Bruce Momjian <bruce@momjian.us>

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