Linux Server / Performance, Capacity & Containers
Use TCP counter deltas to investigate a Linux server network slowdown
Retransmissions can reflect packet loss or congestion, but lifetime totals do not identify the current flow or time window.
Environment and inputs: Linux server baseline · Ubuntu 24.04 LTS / RHEL 9-style systems. Use the specified distribution, init system and installed tool; service names, privileges and supported options can differ.
Start with this check
Check the computer, command shell and account permissions. Replace example names, file paths, domains and interfaces with approved values. These commands help investigate the problem. Before making changes, check the rules and the effect on running applications.
nstat -az
What the results mean
With iproute2 tools, this prints available network protocol counters. Values and reset behavior depend on tool options and network namespace.
Fix the cause and check again
Take timestamped samples during the incident and correlate deltas with interface and peer evidence. Investigate the actual affected path before changing TCP settings.
Before changing production
Do not infer that the server is at fault from one historical retransmission total or reset evidence before capture.