Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1UPqIO-000801-US for pgsql-bugs@arkaria.postgresql.org; Wed, 10 Apr 2013 08:22:21 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.72) (envelope-from ) id 1UPqIO-0001u2-CH for pgsql-bugs@arkaria.postgresql.org; Wed, 10 Apr 2013 08:22:20 +0000 Received: from makus.postgresql.org ([2001:4800:7903:4::125]) by malur.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1UPqIN-0001tw-DN for pgsql-bugs@postgresql.org; Wed, 10 Apr 2013 08:22:19 +0000 Received: from mail-pa0-f47.google.com ([209.85.220.47]) by makus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1UPqIG-0002fV-2N for pgsql-bugs@postgresql.org; Wed, 10 Apr 2013 08:22:18 +0000 Received: by mail-pa0-f47.google.com with SMTP id bj3so186461pad.34 for ; Wed, 10 Apr 2013 01:22:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:subject:references:from:content-type:x-mailer:message-id :date:to:content-transfer-encoding:mime-version; bh=zZVxt38usHjKBzM0sPq5iUW3aAE6LsjgvLpCRs79P2g=; b=zlmkPzbR+/AJ8wwHJ+ZPqxNfJo6GK16f2ej1pL3rtpDMWNdismP67aosY35qSiA/Jb EQskhRM9JNrS7dUJ6YqN5CP8eWOv71BGOMQ91wWcTwabLGzFk3JmK+YmyZ7xiatZ+1js n2A6Kqm9apULcG/9qMXnGLqok0/N5adwOG8dZoz8nUuYR0dpEDA3PWZWZvRow8G+Peui ZY6ZYd/zY9c4drBH3VEfE8Gtbm7StqKJVIcnjq5culWnc1qWwcXW2WX56IQQBOMOBtLB 0IbcTaIofR3VnspIF1RIcedAqzwg5Izf6cHYLxosSUjq/894sFABWAYZLSNnUwMrqZlE SBrA== X-Received: by 10.66.121.133 with SMTP id lk5mr2059946pab.171.1365582131102; Wed, 10 Apr 2013 01:22:11 -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 fa5sm5584912pbb.35.2013.04.10.01.22.08 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 10 Apr 2013 01:22:09 -0700 (PDT) Subject: Fwd: replication_timeout not effective References: From: Dang Minh Huong Content-Type: text/plain; charset=iso-2022-jp X-Mailer: iPhone Mail (10B329) Message-Id: <9ACA1D14-16B1-496B-9F51-45A0D4B4E67D@gmail.com> Date: Wed, 10 Apr 2013 17:22:08 +0900 To: pgsql-bugs@postgresql.org Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (1.0) 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,=20 >=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 >=20 > Regards, >=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 rep= lication connections that are inactive longer than the specified number of = milliseconds". But in my environment the sender process > is hang up (in se= veral 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 introduce= d in 9.3. Refer below: >> http://www.postgresql.org/docs/devel/static/runtime-config-replication.h= tml#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