On Thu, 15 Dec 2022 at 07:31, Willy-Bas Loos <willybas@xxxxxxxxx> wrote: > > wbloos=# set tcp_keepalives_idle=120; > SET > wbloos=# show tcp_keepalives_idle; > tcp_keepalives_idle > --------------------- > 0 Are you connected in this psql session via tcp or unix domain socket? "In sessions connected via a Unix-domain socket, this parameter is ignored and always reads as zero." Geoff