Re: pg_basebackup blocking all queries

From: Scott Marlowe <scott(dot)marlowe(at)gmail(dot)com>
To: Lonni J Friedman <netllama(at)gmail(dot)com>
Cc: pgsql-general <pgsql-general(at)postgresql(dot)org>
Subject: Re: pg_basebackup blocking all queries
Date: 2012-05-22 21:56:06
Message-ID: CAOR=d=1u4-ZRQxc6uxEgV_RkcG-aEpVm+jdFaujrs978_QpyLA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

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!
>
> --
> Sent via pgsql-general mailing list (pgsql-general(at)postgresql(dot)org)
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgsql-general

--
To understand recursion, one must first understand recursion.

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Lonni J Friedman 2012-05-22 22:20:11 Re: pg_basebackup blocking all queries
Previous Message Scott Marlowe 2012-05-22 21:39:04 Re: Re: significant performance hit whenever autovacuum runs after upgrading from 9.0 -> 9.1