Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1UPrn1-0006MV-Ra for pgsql-bugs@arkaria.postgresql.org; Wed, 10 Apr 2013 09:58:04 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.72) (envelope-from ) id 1UPrn0-0005ZG-K3 for pgsql-bugs@arkaria.postgresql.org; Wed, 10 Apr 2013 09:58:02 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1UPrmp-0005QQ-6J; Wed, 10 Apr 2013 09:57:51 +0000 Received: from mail-pb0-f49.google.com ([209.85.160.49]) by magus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1UPrml-0001QB-K0; Wed, 10 Apr 2013 09:57:50 +0000 Received: by mail-pb0-f49.google.com with SMTP id um15so177663pbc.8 for ; Wed, 10 Apr 2013 02:57:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:references:mime-version:in-reply-to:content-type :content-transfer-encoding:message-id:cc:x-mailer:from:subject:date :to; bh=KGN8aOHhqaW9lPh6aJg0zNiNrK4GdrzTIl+JiZTXpgo=; b=ltg9pn6GS4nwUUaO1S5ZunUPf7jVdyJ1YOrX8AxhZ7m7JT3xHogvcJoNr7z2i2iVtY lsqNhyu8sluo5EW5wRSqKdDA9aAZIh4UW1wDv9BPSFARXBCTdPvoWLNPdZj5R3ZLmAb5 h3lCUil0JC0Rs5eHhPoI2erGeYSX+9UdGPTr7EDrtV2Y+DhzawsEKlNNQJqctc5VEZuu NCeBdlluGHLeZyXEbZ2MkM0Jb2Y2Bu/Ch651ms5pY5/n5AxLAS68CHt638A03tQ6h42G PqBBwFt4zJvmu06CydMWSVOdv69fsDbJ2DPAuq7qcu6KyXwJLM6GJCFAAtkFH0u7O+na vcAA== X-Received: by 10.68.135.231 with SMTP id pv7mr1835373pbb.108.1365587866035; Wed, 10 Apr 2013 02:57:46 -0700 (PDT) Received: from [10.4.123.70] (pw126205017237.3.panda-world.ne.jp. [126.205.17.237]) by mx.google.com with ESMTPS id fb7sm34935024pab.16.2013.04.10.02.57.42 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 10 Apr 2013 02:57:44 -0700 (PDT) References: <6461930E-86E2-431B-B5C0-84217678BA80@gmail.com> <5164f3a8.e604420a.355e.ffff9478SMTPIN_ADDED_BROKEN@mx.google.com> <5165322f.01d3440a.463b.6ffdSMTPIN_ADDED_BROKEN@mx.google.com> Mime-Version: 1.0 (1.0) In-Reply-To: <5165322f.01d3440a.463b.6ffdSMTPIN_ADDED_BROKEN@mx.google.com> Content-Type: text/plain; charset=iso-2022-jp Content-Transfer-Encoding: quoted-printable Message-Id: <4C6D757D-3193-4E31-B031-79EC946591F8@gmail.com> Cc: "" , "" X-Mailer: iPhone Mail (10B329) From: Dang Minh Huong Subject: Re: replication_timeout not effective Date: Wed, 10 Apr 2013 18:57:41 +0900 To: Amit Kapila X-Pg-Spam-Score: -2.4 (--) 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 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.=20 So if it is solved in 9.3 i think there is a way to terminate it.=20 I hope it is fixed in 9.1 soon Regards, 2013/04/10 18:33=1B$B!"=1B(BAmit Kapila =1B$B$N%a%= C%;!<%8=1B(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, >>=20 >> Thank you for your soon reply. >>=20 >> I'm trying to set the network timeout related parameters to terminate >> it. >>=20 >> # i've tried to set postgresql.conf's tcp_keepalives_* but not success. >=20 > I have also tried those, but they didn't work that's why I have proposed > this feature in 9.3 >=20 > Please send mail on community list, others can also help you if they have > any idea for avoiding such problems. >=20 >> 2013/04/10 14:05=1B$B!"=1B(BAmit Kapila =1B$B$N= %a%C%;!<%8=1B(B: >>=20 >>> On Wednesday, April 10, 2013 9:35 AM Dang Minh Huong wrote: >>>> Hi, >>>=20 >>>> I'm wondering if this is a bug of PostgreSQL. >>>=20 >>>> 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. >>>=20 >>>> Is this correct? >>>=20 >>>> As my debug, sender process is terminated when recieve SIGPIPE >> process but it come too slow (about 30minutes after standby PC was >> down). >>>=20 >>> 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 >>>=20 >>> I am not sure how to get rid of this problem in 9.1.9 >>>=20 >>> With Regards, >>> Amit Kapila. >=20 --=20 Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs