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

Popular posts from this blog

Android layout hidden on keyboard show -

google app engine - 403 Forbidden POST - Flask WTForms -

c - Why would PK11_GenerateRandom() return an error -8023? -