> ## Documentation Index
> Fetch the complete documentation index at: https://docs.kinetica.com/llms.txt
> Use this file to discover all available pages before exploring further.

# tcp_keep_alive

&#x20;property tcp\_keep\_alive

Gets whether TCP keep-alive is on for the connections to the database, so that a long-running request behind a NAT, a firewall or a load balancer is not dropped as idle. Default True. How soon and how often it probes is the operating system’s default (two hours, then every 75 seconds, 9 times, on Linux) unless [`tcp_keep_idle`](https://docs.kinetica.com/content/api/python/source/gpudb/tcp-keep-idle#gpudb.GPUdb.Options.tcp_keep_idle), [`tcp_keep_interval`](https://docs.kinetica.com/content/api/python/source/gpudb/tcp-keep-interval#gpudb.GPUdb.Options.tcp_keep_interval) and [`tcp_keep_count`](https://docs.kinetica.com/content/api/python/source/gpudb/tcp-keep-count#gpudb.GPUdb.Options.tcp_keep_count) say otherwise. For a long-running request, also set a [`timeout`](https://docs.kinetica.com/content/api/python/source/gpudb/timeout#gpudb.GPUdb.Options.timeout).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.