PostgreSQL connection timeout -
i using desktop application postgresql database server. when not using application 10 20 minutes continuously, database connection dropped. , using postgresqljdbc database connection.
please me on database connection time out.
thanks.
sounds connected via stateful connection tracking router/firewall has short connection tracking timeout. sounds need enable keepalives.
take @ tcp_keepalives_interval
, tcp_keepalives_idle
parameters.
you can request keepalives client-side in jdbc driver; see pgjdbc docs.
Comments
Post a Comment