pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Amit Kapila <amit.kapila@huawei.com>
To: 'Dang Minh Huong' <kakalot49@gmail.com>
To: pgsql-bugs@postgresql.org
Subject: Re: replication_timeout not effective
Date: Wed, 10 Apr 2013 10:35:14 +0530
Message-ID: <003e01ce35a8$fced21a0$f6c764e0$@kapila@huawei.com> (raw)
In-Reply-To: <6461930E-86E2-431B-B5C0-84217678BA80@gmail.com>
References: <6461930E-86E2-431B-B5C0-84217678BA80@gmail.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>

On Wednesday, April 10, 2013 9:35 AM Dang Minh Huong wrote:
> Hi,

> I'm wondering  if this is a bug of PostgreSQL.

> PostgreSQL's show that replication_timeout parameter can "Terminate replication connections that are inactive longer than the specified number of milliseconds". But in my environment the sender process > is hang up (in several tens of minunites) if i turn off  (by power off) Standby PC while pg_basebackup is excuting.

> Is this correct?

> As my debug, sender process is terminated when recieve SIGPIPE process but it come too slow (about 30minutes after standby PC was down). 

For such scenario's, new parameter wal_sender_timeout has been introduced in 9.3. Refer below:
http://www.postgresql.org/docs/devel/static/runtime-config-replication.html#RUNTIME-CONFIG-REPLICATI...

I am not sure how to get rid of this problem in 9.1.9

With Regards,
Amit Kapila.



-- 
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 (10+ messages)  latest in thread

Message-ID: <003e01ce35a8$fced21a0$f6c764e0$@kapila@huawei.com>
Permalink:  ../003e01ce35a8$fced21a0$f6c764e0$@kapila@huawei.com/
Also on:    postgresql.org/message-id/003e01ce35a8$fced21a0$f6c764e0$@kapila@huawei.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 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: amit.kapila@huawei.com, kakalot49@gmail.com
  Subject: Re: replication_timeout not effective
  In-Reply-To: <003e01ce35a8$fced21a0$f6c764e0$@kapila@huawei.com>
  References: <6461930E-86E2-431B-B5C0-84217678BA80@gmail.com> <003e01ce35a8$fced21a0$f6c764e0$@kapila@huawei.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