pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Alvaro Herrera <alvherre@2ndquadrant.com>
To: amutu@amutu.com
Cc: pgsql-bugs@postgresql.org
Subject: Re: BUG #8701: recover process hang on slave
Date: Thu, 26 Dec 2013 16:30:01 -0300
Message-ID: <20131226193001.GO22570@eldon.alvh.no-ip.org> (raw)
In-Reply-To: <E1Vw0zD-00042M-PU@wrigleys.postgresql.org>
References: <E1Vw0zD-00042M-PU@wrigleys.postgresql.org>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>

amutu@amutu.com wrote:

> we have a master and two streaming salve pg.we find One of the slave
> replay_location is far behand the other.
> 
> 
> both sent_location is BF1/921F6000;the write_location and flush_location is
> similar;but one of the server replay_location is BF1/9210DD10,the oter is
> 6DE/D958E8.
>
> on the abnormal server,top show that a postgres process replay the
> 00000001000006DE00000000 WAL,and the process take up 100% usage of the cpu
> core.

Perhaps you can try to pg_xlogdump the offending pg_xlog file?

-- 
Álvaro Herrera                http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Training & Services


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



view thread (3+ messages)  latest in thread

Message-ID: <20131226193001.GO22570@eldon.alvh.no-ip.org>
Permalink:  ../20131226193001.GO22570@eldon.alvh.no-ip.org/
Also on:    postgresql.org/message-id/20131226193001.GO22570@eldon.alvh.no-ip.org

 · 

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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-bugs@postgresql.org
  Cc: alvherre@2ndquadrant.com, amutu@amutu.com
  Subject: Re: BUG #8701: recover process hang on slave
  In-Reply-To: <20131226193001.GO22570@eldon.alvh.no-ip.org>
  References: <E1Vw0zD-00042M-PU@wrigleys.postgresql.org> <20131226193001.GO22570@eldon.alvh.no-ip.org>

* 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