Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1UPnDu-0007Iy-Bz for pgsql-bugs@arkaria.postgresql.org; Wed, 10 Apr 2013 05:05:30 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.72) (envelope-from ) id 1UPnDt-0004G0-7E for pgsql-bugs@arkaria.postgresql.org; Wed, 10 Apr 2013 05:05:29 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1UPnDs-0004Fu-Cr for pgsql-bugs@postgresql.org; Wed, 10 Apr 2013 05:05:28 +0000 Received: from szxga01-in.huawei.com ([119.145.14.64]) by magus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1UPnDm-0004fN-KG for pgsql-bugs@postgresql.org; Wed, 10 Apr 2013 05:05:28 +0000 Received: from 172.24.2.119 (EHLO szxeml205-edg.china.huawei.com) ([172.24.2.119]) by szxrg01-dlp.huawei.com (MOS 4.3.4-GA FastPath queued) with ESMTP id BAJ06587; Wed, 10 Apr 2013 13:05:19 +0800 (CST) Received: from SZXEML409-HUB.china.huawei.com (10.82.67.136) by szxeml205-edg.china.huawei.com (172.24.2.58) with Microsoft SMTP Server (TLS) id 14.1.323.7; Wed, 10 Apr 2013 13:05:19 +0800 Received: from blrprnc09ns (10.18.96.98) by szxeml409-hub.china.huawei.com (10.82.67.136) with Microsoft SMTP Server id 14.1.323.7; Wed, 10 Apr 2013 13:05:15 +0800 From: Amit Kapila To: "'Dang Minh Huong'" , References: <6461930E-86E2-431B-B5C0-84217678BA80@gmail.com> In-Reply-To: <6461930E-86E2-431B-B5C0-84217678BA80@gmail.com> Subject: Re: replication_timeout not effective Date: Wed, 10 Apr 2013 10:35:14 +0530 Message-ID: <003e01ce35a8$fced21a0$f6c764e0$@kapila@huawei.com> MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Mailer: Microsoft Office Outlook 12.0 Thread-Index: Ac41oKDZ+2SqZTKWSrWE7C9GdX6SDgABwGGQ Content-Language: en-us x-cr-hashedpuzzle: CfFy DTXG D2F9 Ec9S Eq3e HRaL IvKu MI1P Nz52 OdXN Q+v8 TR1k TV6D TqUA VPYV VwAn; 2; awBhAGsAYQBsAG8AdAA0ADkAQABnAG0AYQBpAGwALgBjAG8AbQA7AHAAZwBzAHEAbAAtAGIAdQBnAHMAQABwAG8AcwB0AGcAcgBlAHMAcQBsAC4AbwByAGcA; Sosha1_v1; 7; {67413658-0278-48F9-B0B4-477F5B9C4C51}; YQBtAGkAdAAuAGsAYQBwAGkAbABhAEAAaAB1AGEAdwBlAGkALgBjAG8AbQA=; Wed, 10 Apr 2013 05:05:09 GMT; UgBFADoAIABbAEIAVQBHAFMAXQAgAHIAZQBwAGwAaQBjAGEAdABpAG8AbgBfAHQAaQBtAGUAbwB1AHQAIABuAG8AdAAgAGUAZgBmAGUAYwB0AGkAdgBlAA== x-cr-puzzleid: {67413658-0278-48F9-B0B4-477F5B9C4C51} X-Originating-IP: [10.18.96.98] X-CFilter-Loop: Reflected X-Pg-Spam-Score: -3.3 (---) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org 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 repli= cation connections that are inactive longer than the specified number of mi= lliseconds". But in my environment the sender process > is hang up (in seve= ral tens of minunites) if i turn off (by power off) Standby PC while pg_ba= sebackup is excuting. > Is this correct? > As my debug, sender process is terminated when recieve SIGPIPE process bu= t it come too slow (about 30minutes after standby PC was down).=20 For such scenario's, new parameter wal_sender_timeout has been introduced i= n 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. --=20 Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs