Specifies the number of TCP keepalive messages that can be lost before the server's connection to the client is considered dead. A value of 0 (the default) selects the operating system's default. This parameter is supported only on systems that support
TCP_KEEPCNT or an equivalent socket option; on other systems, it must be zero. In sessions connected via a Unix-domain socket, this parameter is ignored and always reads as zero.
This parameter is not supported on Windows, and must be zero.
- Controlling number of idle sessions in postgresql 11.5
- How to use tcp_keepalives settings in Postgresql?
- Using TCP keepalive for terminating orphan postgres queries not working
- How to break connections TCP/IP by keepalive postgreSQL without changing anything in the register?
- struggling with connection idle timeout settings on ubuntu with postgresql