Re: pg_basebackup blocking all queries

From: Lonni J Friedman <netllama(at)gmail(dot)com>
To: Scott Marlowe <scott(dot)marlowe(at)gmail(dot)com>
Cc: pgsql-general <pgsql-general(at)postgresql(dot)org>
Subject: Re: pg_basebackup blocking all queries
Date: 2012-05-22 22:20:11
Message-ID: CAP=oouHi9K3oY9FGGgN5C_WEox3euNUxGe0Tsbw2iW4ASUYZxA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Thanks for your reply. Unfortunately, those queries don't shed any
light no the problem. The first two return 0 rows, and the third just
returns 12 rows all associated with the query itself, rather than
anything else.

Any other suggestions?

On Tue, May 22, 2012 at 2:56 PM, Scott Marlowe <scott(dot)marlowe(at)gmail(dot)com> wrote:
> Do the queries here help?
>
> http://wiki.postgresql.org/wiki/Lock_Monitoring
>
> On Tue, May 22, 2012 at 12:42 PM, Lonni J Friedman <netllama(at)gmail(dot)com> wrote:
>> Greetings,
>> I have a 4 server postgresql-9.1.3 cluster (one master doing streaming
>> replication to 3 hot standby servers).  All of them are running
>> Fedora-16-x86_64.  Last Friday I upgraded the entire cluster from
>> Fedora-15 with postgresql-9.0.6 to Fedora-16 with postgresql-9.1.3.
>>
>> I'm finding that I cannot runpg_basebackup at all, or it blocks all
>> SQL queries from running until pg_basebackup has completed (and the
>> load on the box just takes off to over 75.00).  By "blocks" I mean
>> that any query that is submitted just hangs and does not return at all
>> until pg_basebackup has stopped.   I'm assuming that this isn't
>> expected behavior, so I'm rather confused on what is going on.  The
>> command that I'm issuing is:
>> pg_basebackup -v -D /mnt/backups/backups/tmp0 -x -Ft -U postgres
>>
>> Can someone provide some guidance on how to debug this?
>>
>> thanks!

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message yi huang 2012-05-23 01:15:35 main log encoding problem
Previous Message Scott Marlowe 2012-05-22 21:56:06 Re: pg_basebackup blocking all queries