[pgpool-general: 8682] Re: Is there a heartbeat mechanism that keeps a connection alive?

Tatsuo Ishii ishii at sraoss.co.jp
Wed Mar 29 15:24:06 JST 2023


> On <postgresql.conf>,  I can set Ping-Pong mechanism on TCP connection
> between postgresql and its client:
> 
> tcp_keepalives_idle = 20
> tcp_keepalives_interval = 10
> tcp_keepalives_count = 3
> 
> Can pgpool set keepalive heartbeat, or an idle connection between pgpool
> and its client can only be terminated?

No, but pgpool has its own feature called "client_idle_limit" to kill
clients in idle state.

https://www.pgpool.net/docs/44/en/html/runtime-config-connection-pooling.html#RUNTIME-CONFIG-CONNECTION-POOLING-SETTINGS

Best reagards,
--
Tatsuo Ishii
SRA OSS LLC
English: http://www.sraoss.co.jp/index_en/
Japanese:http://www.sraoss.co.jp



More information about the pgpool-general mailing list