From: Dang Minh Huong <kakalot49@gmail.com>
To: Amit Kapila <amit.kapila@huawei.com>
Cc: <pgsql-hackers@postgresql.org> <pgsql-hackers@postgresql.org>
Cc: <pgsql-bugs@postgresql.org> <pgsql-bugs@postgresql.org>
Subject: Re: replication_timeout not effective
Date: Wed, 10 Apr 2013 18:57:41 +0900
Message-ID: <4C6D757D-3193-4E31-B031-79EC946591F8@gmail.com> (raw)
In-Reply-To: <5165322f.01d3440a.463b.6ffdSMTPIN_ADDED_BROKEN@mx.google.com>
References: <6461930E-86E2-431B-B5C0-84217678BA80@gmail.com>
<5164f3a8.e604420a.355e.ffff9478SMTPIN_ADDED_BROKEN@mx.google.com>
<CD28A167-93D7-409C-8541-9249C320E6B2@gmail.com>
<5165322f.01d3440a.463b.6ffdSMTPIN_ADDED_BROKEN@mx.google.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>
Hi Amit,
Thank you for your consideration.
My project not allows to use 9.2 or 9.3.
In 9.3, it sounds replication_timeout is replaced by wal_sender_timeout.
So if it is solved in 9.3 i think there is a way to terminate it.
I hope it is fixed in 9.1 soon
Regards,
2013/04/10 18:33$B!"(BAmit Kapila <amit.kapila@huawei.com> $B$N%a%C%;!<%8(B:
>> Sent: Wednesday, April 10, 2013 1:49 PM Dang Minh Huong wrote:
>> To: Amit Kapila
>> Subject: Re: [BUGS] replication_timeout not effective
> On Wednesday, April 10, 2013 1:49 PM
>> Hi,
>>
>> Thank you for your soon reply.
>>
>> I'm trying to set the network timeout related parameters to terminate
>> it.
>>
>> # i've tried to set postgresql.conf's tcp_keepalives_* but not success.
>
> I have also tried those, but they didn't work that's why I have proposed
> this feature in 9.3
>
> Please send mail on community list, others can also help you if they have
> any idea for avoiding such problems.
>
>> 2013/04/10 14:05$B!"(BAmit Kapila <amit.kapila@huawei.com> $B$N%a%C%;!<%8(B:
>>
>>> 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-REPLICATION-SENDER
>>>
>>> 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
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: kakalot49@gmail.com, amit.kapila@huawei.com, pgsql-hackers@postgresql.org
Subject: Re: replication_timeout not effective
In-Reply-To: <4C6D757D-3193-4E31-B031-79EC946591F8@gmail.com>
References: <6461930E-86E2-431B-B5C0-84217678BA80@gmail.com> <5164f3a8.e604420a.355e.ffff9478SMTPIN_ADDED_BROKEN@mx.google.com> <CD28A167-93D7-409C-8541-9249C320E6B2@gmail.com> <5165322f.01d3440a.463b.6ffdSMTPIN_ADDED_BROKEN@mx.google.com> <4C6D757D-3193-4E31-B031-79EC946591F8@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