Runbook

High ITCP Connections on Kafka Cluster

Back to Runbooks

Overview

When there are high ITCP connections on a Kafka cluster, it means that there are many connections that have been established but not yet closed. This can cause a number of issues, including decreased performance and potential instability of the cluster. It is important to identify and address these connections in a timely manner to prevent further issues.

Parameters

Debug

Check current number of established ITCP connections

Check the maximum number of allowed ITCP connections

Check the current number of half-open ITCP connections

Check the number of sockets in TIME_WAIT state

Check the number of sockets in CLOSE_WAIT state

Check the current number of file descriptors used by Kafka processes

Check the current amount of memory used by Kafka processes

Check the current amount of CPU usage by Kafka processes

Repair

Increase Kafka Cluster capacity: One of the possible reasons for high ITCP connections is that the Kafka cluster is reaching its capacity limit. In this case, we can consider increasing the capacity of the Kafka cluster to handle more connections.

Learn more

Related Runbooks

Check out these related runbooks to help you debug and resolve similar issues.