1m_tcp_accept_queue_drops
OS: Linux
This alert presents the average number of dropped packets in the TCP accept queue over the last
sixty seconds. If it is raised, then the system is dropping incoming TCP connections. This could also be
an indication of accepted queue overflow, low memory, security issues, no route to a destination, etc.
- This alert gets raised to warning when the value is greater than 1 and less than 5.
- If the number of queue drops over the last minute exceeds 5, then the alert gets raised to critical.
TCP Accept Queue Drops
The accept queue holds fully established TCP connections waiting to be handled by the listening application.
It overflows when the server application fails to accept new connections at the rate they are coming in.
References and sources
Troubleshooting Section
Check for queue overflows
If you receive this alert, then you can cross-check its results with the 1m_tcp_accept_queue_overflows
alert. If that alert is also in a warning or critical state, then the system is experiencing accept queue overflowing. To fix that you can do the following:
- Open the /etc/sysctl.conf file and look for the entry " net.ipv4.tcp_max_syn_backlog".
The
tcp_max_syn_backlog
is the maximal number of remembered connection requests
(SYN_RECV), which have not received an acknowledgment from connecting client. 1 - If the entry does not exist, then append the following default entry to the file;
net.ipv4.tcp_max_syn_backlog=1280
.
Otherwise, adjust the limit to suit your needs. - Save your changes and run;
to apply the changes.root@netdata~ #sysctl -p
Note: Netdata strongly suggests knowing exactly what values you need before making system changes.