pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Nick Bales <nick.bales@rackspace.com>
To: Venkata Balaji N <nag1010@gmail.com>
To: PostgreSQL Bugs <pgsql-bugs@postgresql.org>
Subject: Re: BUG #13962: transaction logs growing on standby
Date: Wed, 17 Feb 2016 16:39:33 -0600
Message-ID: <56C4F6A5.2060106@rackspace.com> (raw)
In-Reply-To: <CAEyp7J_sYm9Ru-uD4kCSX7_BnC9vq8vDq9Sw9vkj3m2+jK18mw@mail.gmail.com>
References: <20160215222948.2605.39385@wrigleys.postgresql.org>
	<CAEyp7J9nTkyJw_y3w9nnvcAdYju4cUrkJpP3rJdi0e7bmhhQmA@mail.gmail.com>
	<56C4BF07.6030403@rackspace.com>
	<CAEyp7J_sYm9Ru-uD4kCSX7_BnC9vq8vDq9Sw9vkj3m2+jK18mw@mail.gmail.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>

Understood.  Really thought I exhausted all potential issues before 
submitting this.  However, does still seem like the orphaned xlogs 
should be cleaned up if they predate the latest checkpoint.

On 02/17/2016 04:21 PM, Venkata Balaji N wrote:
>
> On Thu, Feb 18, 2016 at 5:42 AM, Nick Bales <nick.bales@rackspace.com 
> <mailto:nick.bales@rackspace.com>> wrote:
>
>     I am not seeing any instances of where the standby nodes are
>     falling behind the primary.  However, I do see several instances
>     each day where the standby is having to re-establish the streaming
>     connection to the primary:
>
>       2015-12-15 07:25:10 GMT 12969 XX000 566f9ae1.32a9 0 FATAL: could
>     not send data to WAL stream: server closed the connection
>     unexpectedly
>       2015-12-15 07:25:10 GMT 33302 00000 566fc056.8216 0 LOG: started
>     streaming WAL from primary at 374/F1000000 on timeline 1
>       2015-12-15 10:05:13 GMT 33302 XX000 566fc056.8216 0 FATAL: could
>     not send data to WAL stream: server closed the connection
>     unexpectedly
>       2015-12-15 10:05:13 GMT 5001 00000 566fe5d9.1389 0 LOG: started
>     streaming WAL from primary at 375/11000000 on timeline 1
>
>     Upon closer inspection, the number of times this is occurring per
>     day does correspond to the number of orphaned xlogs for the day(by
>     file's last updated timestamp), so there does seem to be some
>     relevance. Will need to investigate further as to what is causing
>     the streaming connection to drop.
>
>
> Thats the issue, there is an interruption in streaming probably due to 
> network related issues. That needs to be fixed first.
> So, this is not a BUG. Please note that this is not an appropriate 
> mailing list to send these technical queries. Please consider sending 
> across such technical queries to pgsql-general mailing list.
>
> Regards,
> Venkata B N
>
> Fujitsu Australia
>

view thread (5+ messages)  latest in thread

Message-ID: <56C4F6A5.2060106@rackspace.com>
Permalink:  ../56C4F6A5.2060106@rackspace.com/
Also on:    postgresql.org/message-id/56C4F6A5.2060106@rackspace.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-bugs@postgresql.org
  Cc: nick.bales@rackspace.com, nag1010@gmail.com
  Subject: Re: BUG #13962: transaction logs growing on standby
  In-Reply-To: <56C4F6A5.2060106@rackspace.com>
  References: <20160215222948.2605.39385@wrigleys.postgresql.org> <CAEyp7J9nTkyJw_y3w9nnvcAdYju4cUrkJpP3rJdi0e7bmhhQmA@mail.gmail.com> <56C4BF07.6030403@rackspace.com> <CAEyp7J_sYm9Ru-uD4kCSX7_BnC9vq8vDq9Sw9vkj3m2+jK18mw@mail.gmail.com> <56C4F6A5.2060106@rackspace.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox