Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1YR12g-0002Vi-As for pgsql-admin@arkaria.postgresql.org; Thu, 26 Feb 2015 16:12:02 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1YR12f-0000hA-FO for pgsql-admin@arkaria.postgresql.org; Thu, 26 Feb 2015 16:12:01 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1YR12e-0000el-Bv for pgsql-admin@postgresql.org; Thu, 26 Feb 2015 16:12:00 +0000 Received: from www.ipv6.roaringpenguin.com ([2607:f748:1200:fb:70:38:112:54] helo=colo3.roaringpenguin.com) by magus.postgresql.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.80) (envelope-from ) id 1YR12a-0005tR-Ha for pgsql-admin@postgresql.org; Thu, 26 Feb 2015 16:11:58 +0000 Received: from vanadium.roaringpenguin.com ([192.168.10.23]) by colo3.roaringpenguin.com (8.14.3/8.14.3/Debian-9.4) with ESMTP id t1QGBrlw026356; Thu, 26 Feb 2015 11:11:53 -0500 Received: from hydrogen.roaringpenguin.com (dfs@hydrogen.roaringpenguin.com [192.168.10.1]) by vanadium.roaringpenguin.com (8.14.4/8.14.4/Debian-4) with ESMTP id t1QGBqQ5007989 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT); Thu, 26 Feb 2015 11:11:53 -0500 Date: Thu, 26 Feb 2015 11:11:52 -0500 From: "David F. Skoll" To: pgsql-admin@postgresql.org Cc: John Scalia Subject: Re: Weird spikes in delay for async streaming replication on 9.1 Message-ID: <20150226111152.3e0e28c8@hydrogen.roaringpenguin.com> In-Reply-To: <54EF449A.9030407@gmail.com> References: <20150214110050.2f032f05@ollie.roaringpenguin.com> <20150226094428.34531376@hydrogen.roaringpenguin.com> <54EF3E6F.60403@gmail.com> <20150226104433.1b0df1db@hydrogen.roaringpenguin.com> <54EF411B.80202@gmail.com> <20150226110007.09bb1551@hydrogen.roaringpenguin.com> <54EF449A.9030407@gmail.com> Organization: Roaring Penguin Software Inc. X-Mailer: Claws Mail 3.8.1 (GTK+ 2.24.10; x86_64-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=roaringpenguin.com; h=date :from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-type:content-transfer-encoding; s=main; bh=yiLkDR9vUqnfJebEsDrSTq3ozRE=; b=Q9gUKU7Wk0nUgvCopVkeXSzOgbFT rIcCbm2i5s/k4DnuM5kHydsvFL9qcLCgzF8Eyx3ZZIX5S6RMzpYZMF5CXHktQ4SU LSrEVdHYxZ6/Bgit5wvUd1xGNzmBvi9i9Myta2V3vYVRBswsYLaCNSBH3jALkQuq mJioUqwnXXcGJWR6LfA55kQHq4hbZZR0MaBxVSTUJvD0hSc6If2NX/szo/BAI4tM Lzrx8ZaXsYCBX2GbTwc88pAVRAezurcOvC6uSIYo/XPH2FuVDhK069Ry9/UtIcch /YNJyA/6bGuxC39+zUXZ9DZTRuXbManHB336vQ3id8bj0ta8sQ6LDZxtsQ== X-Scanned-By: CanIt (www . roaringpenguin . com) X-Scanned-By: MIMEDefang 2.75 on 192.168.10.23 X-Spam-Score: undef - relay 192.168.10.23 marked with skip_spam_scan X-CanIt-Geo: No geolocation information available for 192.168.10.23 X-CanItPRO-Stream: outgoing (inherits from default) X-CanIt-Archive-Cluster: SQVyZJxqklY5buiWXYCN4T/BjiM X-CanIt-Archived-As: base/20150226 / 01NV4bRv7 X-Pg-Spam-Score: -4.3 (----) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-admin Precedence: bulk Sender: pgsql-admin-owner@postgresql.org On Thu, 26 Feb 2015 11:06:50 -0500 John Scalia wrote: > Possibly, but that's why WE use a pair of standby servers, not a > single one, so that all transactions get committed in a timely > manner. The odds of both standbys failing at the same time are really > small. Maybe your script should check which is latest WAL segment on > each system first? That might show that you have a timedelay with > getting the info to the standby. That doesn't seem to be a problem. When I run this: watch -n 0.1 'ps auxww|grep [w]al.*streaming' on both primary and standby, the ID number after "streaming" increments on both smoothly; there's no significant pause even when the delay starts growing. Regards, David. -- Sent via pgsql-admin mailing list (pgsql-admin@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-admin