pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Dang Minh Huong <kakalot49@gmail.com>
To: pgsql-admin@postgresql.org
Subject: how to terminate hang up sender process
Date: Tue, 09 Apr 2013 01:02:32 +0900
Message-ID: <5162EA18.9010802@gmail.com> (raw)
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-admin>

Hi all,

I'm using PostgreSQL 9.1.7's replication function for my HA project
and getting trouble when terminate the hangup sender process.

My cluster configuration: Node1(MASTER) Node2(STANDBY)

Execution sequence:
---
step 1.
execute pg_basebackup on Node2

step 2.
While Node2's pg_basebackup is processing (wal sender was
created in Node1), turn off the Node2 by power off buton.
---

Problem:
---
the sender process in Node1 for base_backup of Node2(SLAVE)
was hanging up (in about 30 minutes).
---

Question:
---
Is there's a solution to terminate that [wal sender] in Node1 but not
restart or kill (-9) the process?
---

I've tried with replication_timeout=60s (default)

best regards,
Huong DM.

Message-ID: <5162EA18.9010802@gmail.com>
Permalink:  ../5162EA18.9010802@gmail.com/
Also on:    postgresql.org/message-id/5162EA18.9010802@gmail.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: kakalot49@gmail.com
  Subject: Re: how to terminate hang up sender process
  In-Reply-To: <5162EA18.9010802@gmail.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