From: Tom Lane <tgl@sss.pgh.pa.us>
To: Adrian Klaver <adrian.klaver@aklaver.com>
Cc: armand pirvu <armand.pirvu@gmail.com>
Cc: pgsql-general@lists.postgresql.org
Subject: Re: connection dropped from the backend server
Date: Tue, 27 Mar 2018 19:49:42 -0400
Message-ID: <6164.1522194582@sss.pgh.pa.us> (raw)
In-Reply-To: <0b0e0503-0e34-32cd-50a7-9be77601a2a5@aklaver.com>
References: <88B8EEC2-917D-498D-938B-DD4C2C3C7008@gmail.com>
<9c4890fe-df61-eae9-48c0-f01fbafedf3a@aklaver.com>
<5FCACAED-139A-4D38-80AA-895C5884631E@gmail.com>
<0b0e0503-0e34-32cd-50a7-9be77601a2a5@aklaver.com>
Adrian Klaver <adrian.klaver@aklaver.com> writes:
> On 03/27/2018 04:07 PM, armand pirvu wrote:
>> As long as the connection stays up yes data gets fine across
>> In pg_stat_activity I see the node ip address where tail -f piped into psql happens
> So what does the rest of that record show? In particular for:
I wonder how often data gets put into the pipe. If it's "not very often",
maybe the connection from psql to the server is timing out due to
inactivity? This would be the fault of a firewall or something in
between. You could probably fix it by enabling (more aggressive) TCP
keepalive settings.
regards, tom lane
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-general@postgresql.org
Cc: tgl@sss.pgh.pa.us, adrian.klaver@aklaver.com, armand.pirvu@gmail.com
Subject: Re: connection dropped from the backend server
In-Reply-To: <6164.1522194582@sss.pgh.pa.us>
References: <88B8EEC2-917D-498D-938B-DD4C2C3C7008@gmail.com> <9c4890fe-df61-eae9-48c0-f01fbafedf3a@aklaver.com> <5FCACAED-139A-4D38-80AA-895C5884631E@gmail.com> <0b0e0503-0e34-32cd-50a7-9be77601a2a5@aklaver.com> <6164.1522194582@sss.pgh.pa.us>
* 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