TECHBENCH
<- Back to threads
SEV-3Network/

HAProxy drops long lived database connections after 5 minutes

priya_s

Original post

2 replies
We put HAProxy in front of a managed Postgres for read replicas. Any connection idle for about five minutes gets reset, which breaks a reporting job that holds a cursor open. Server and client timeouts are set to 30 minutes, so I do not think it is those. Where else would a five minute cutoff come from?
  • #haproxy
  • #postgres
  • #timeouts

Replies

loading

Loading replies...

Add a reply

Sign in required

Sign in to reply

Replies are tied to a verified email address so the advice here stays accountable. Reading stays open to everyone.

Sign in with email

Email code only / no password to remember