Re: libpq heartbeat

From: hubert depesz lubaczewski <depesz(at)depesz(dot)com>
To: Marcin Giedz <marcin(dot)giedz(at)arise(dot)pl>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: libpq heartbeat
Date: 2016-10-27 15:01:05
Message-ID: 20161027150105.ki7edoer7dvis2jv@depesz.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Thu, Oct 27, 2016 at 04:43:55PM +0200, Marcin Giedz wrote:
> Hello all
>
> I'm wondering if there is any natural implementation of heartbeats in
> libpq library? We've been facing specially in firewall env
> occasionally session drops between client and server. Extending
> session timeout directly on firewalls is not possible (company rules).
> Perhaps there is such mechanism "somewhere" to avoid reimplementation
> ?

check tcp_keepalives_* in postgresql.conf

Best regards,

depesz

--
The best thing about modern society is how easy it is to avoid contact with it.
http://depesz.com/

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Francisco Olarte 2016-10-27 15:01:09 Re: libpq heartbeat
Previous Message Tom Lane 2016-10-27 14:44:03 Re: The consequenses of interrupted vacuum