Keep Connection Alive

From: Anselme Rabouan <anselme(dot)rabouan(at)lifecycle-software(dot)com>
To: pgadmin-support(at)postgresql(dot)org
Subject: Keep Connection Alive
Date: 2014-09-04 14:28:00
Message-ID: CAB=Nnps15JThthxsrhsaxV4Wcbr=Kkr4=Q=V-mkW95UOCRtFdQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-support

Hi,

I am using PGAdmin v1.18.1 on my ubuntu 14.04 laptop.
Since my postgresql server kills idle connections after 5 minutes, PGAdmin
has to reset them so it's a little bit annoying.

To avoid that, I tried to use the following .pg_service.conf
[mydb]
keepalives=1
keepalives_idle=10
keepalives_interval=10

Unfortunately, connections are still closing after 5 minutes idle.

Could you please help me to keep connections got from PGAdmin alive?

Thanks,

Browse pgadmin-support by date

  From Date Subject
Next Message Daniel Browning 2014-09-04 22:23:56 Stop pgpass.conf EOL conversion
Previous Message Maximilian Tyrtania 2014-09-03 14:18:05 PG Admin 1.18.1 under Mac OS 10.9.4