Re: connection dropped from the backend server

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Adrian Klaver <adrian(dot)klaver(at)aklaver(dot)com>
Cc: armand pirvu <armand(dot)pirvu(at)gmail(dot)com>, pgsql-general(at)lists(dot)postgresql(dot)org
Subject: Re: connection dropped from the backend server
Date: 2018-03-27 23:49:42
Message-ID: 6164.1522194582@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Adrian Klaver <adrian(dot)klaver(at)aklaver(dot)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

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message armand pirvu 2018-03-28 02:21:31 Re: connection dropped from the backend server
Previous Message Adrian Klaver 2018-03-27 23:11:32 Re: connection dropped from the backend server