Daniel Condomitti <dan...@condomitti.com> wrote: > It could also be that your TCP keepalive interval is higher than your > database server’s connection timeout. I’ve run into that in the past.
That kicks in at around 2 hours by default on Linux systems. I'm not sure it would matter for Tony's case since he hit it after ~30 minutes of idle (unless he tuned the knobs himself). ref: tcp_keep* knobs in https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/tree/Documentation/networking/ip-sysctl.txt unicorn itself has no timers outside of the configurable timeout.