SEV-3Network/
HAProxy drops long lived database connections after 5 minutes
priya_s
Original post
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