Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1YR0cH-0001RD-Dx for pgsql-admin@arkaria.postgresql.org; Thu, 26 Feb 2015 15:44:45 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1YR0cF-0004Ob-Id for pgsql-admin@arkaria.postgresql.org; Thu, 26 Feb 2015 15:44:43 +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 1YR0cE-0004OV-R5 for pgsql-admin@postgresql.org; Thu, 26 Feb 2015 15:44:42 +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 1YR0cA-0005Gd-FR for pgsql-admin@postgresql.org; Thu, 26 Feb 2015 15:44:41 +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 t1QFiXl5020238; Thu, 26 Feb 2015 10:44:33 -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 t1QFiXt3000784 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT); Thu, 26 Feb 2015 10:44:33 -0500 Date: Thu, 26 Feb 2015 10:44:33 -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: <20150226104433.1b0df1db@hydrogen.roaringpenguin.com> In-Reply-To: <54EF3E6F.60403@gmail.com> References: <20150214110050.2f032f05@ollie.roaringpenguin.com> <20150226094428.34531376@hydrogen.roaringpenguin.com> <54EF3E6F.60403@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=g+aJRTxzS+i0wTBpnL/WF3uc/Ws=; b=mfWAwCJNTjWHpx6BmxPi7/eWjn/0 VGlkbOJvg8BxpzSM92MwYjzXlq01p1CYQPmU6Ke0WBTMRGavtpa3/fNBFUcQHI60 DoTuj8pP551hYdjpXH74ch1HNB3mctH3fo3JwjT7XYVyb51AGQ0Avo90ILuAFj5w L2Rum0aZ3VAQBHcmccVMeIFMIw2WURhd44lJN6FjoBtSC0JxwkkuBRpwaUBcqms3 b7/c9nqVJSuwA1TdttKWQ1dhHcce85x5bm6M5OhGmyYqGb5M2IxvrAFaQEZZFd5O YLmE8S7BhPn9kbluAnMsBqDEs6atL+qq5eAqQu9MRITM/jjf8FWItQ1AYA== 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 / 01NV3Ixun 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 10:40:31 -0500 John Scalia wrote: > Apologies, David, but as I don't check this list very often, I > thought you should have received an answer. Have you tried watching > the transaction with tcpdump or wireshark? Yes. Haven't observed anything unusual. > To me this sounds like either a network problem or like you're > thinking a contention problem. It is not a network problem; we monitor the link between sites. And it happens absolutely regularly, like clockwork, when we run our nightly pg_dump on the master. > Also, are you running streaming replication? If so, there > shouldn't be ANY delay as the standby gets the commit before the > primary. Otherwise, how are you replicating? -- Jay We are running asynchronous streaming replication. 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