pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Joshua D. Drake <jd@commandprompt.com>
To: Ray Stell <stellr@vt.edu>
To: pgsql-admin@postgresql.org <pgsql-admin@postgresql.org>
Subject: Re: pg_basebackup state?
Date: Thu, 02 Jul 2015 09:50:18 -0700
Message-ID: <55956BCA.6000705@commandprompt.com> (raw)
In-Reply-To: <5595692B.1010602@vt.edu>
References: <5595692B.1010602@vt.edu>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-admin>


On 07/02/2015 09:39 AM, Ray Stell wrote:
>
> I need help determining the state of the pg_basebackup command. This
> works command works on other hosts and I make a connection as recorded
> in the postmaster log:
>
> 2015-07-02 12:10:53 EDT,0,authentication LOG:  replication connection
> authorized: user=rep
>
> the process is running:
>  > ps -ef | grep pg_base
> pg     32600 11558  0 12:10 pts/1    00:00:00 pg_basebackup -D
> basebackup/ --xlog --format=t  -P -U rep
> pg     32601  1473  0 12:10 ?        00:00:00 postgres: wal sender
> process rep [local] sending backup "pg_basebackup base backup"
>
> but no data is written.  Looks like wal sender is hurt. max_wal_senders
> = 3, I wonder if this is the reason for the stall. How to eval if this
> is set to low?  Thanks.

It may be that pg_basebackup is waiting for a checkpoint to complete. 
Try adding -cfast.

JD


-- 
Command Prompt, Inc. - http://www.commandprompt.com/  503-667-4564
PostgreSQL Centered full stack support, consulting and development.
Announcing "I'm offended" is basically telling the world you can't
control your own emotions, so everyone else should do it for you.


-- 
Sent via pgsql-admin mailing list (pgsql-admin@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-admin



view thread (5+ messages)  latest in thread

Message-ID: <55956BCA.6000705@commandprompt.com>
Permalink:  ../55956BCA.6000705@commandprompt.com/
Also on:    postgresql.org/message-id/55956BCA.6000705@commandprompt.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-admin@postgresql.org
  Cc: jd@commandprompt.com, stellr@vt.edu
  Subject: Re: pg_basebackup state?
  In-Reply-To: <55956BCA.6000705@commandprompt.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

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