how to terminate hang up sender process

From: Dang Minh Huong <kakalot49(at)gmail(dot)com>
To: pgsql-admin(at)postgresql(dot)org
Subject: how to terminate hang up sender process
Date: 2013-04-08 16:02:32
Message-ID: 5162EA18.9010802@gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-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.

Browse pgsql-admin by date

  From Date Subject
Next Message Shiffrin, Sharda 2013-04-08 22:26:31 High growth company seeks postgres DBA
Previous Message hubert depesz lubaczewski 2013-04-08 10:18:03 Re: Find how much memory is postgres using