Players say the ping has gone up, users say the site is stuttering, and when you look at the server the CPU is idle and the disk is relaxed. This is the most common shape of a server latency complaint, and it often drags on for days because nobody can answer one question: is the problem on the server, in the network, or on the user's own line? This guide explains step by step how to collect evidence for a server latency and packet loss complaint, how to read mtr and traceroute output, what TCP retransmission counters do and do not show, and which information to attach to a support request.
Classifying the complaint correctly is half of the investigation. Mixing up three different symptoms sends you looking in the wrong place.
Each of these can point to a different source. So the first question is not "is the ping high?" but "in which time range, for whom, on which port and in which direction?"
The path of a packet from your server to the user can be divided into six segments: the server itself (network card, operating system, application), the switch and data centre network the server is connected to, the data centre's exit to the internet, carriers and peering points, the user's internet service provider and finally the user's own device or Wi-Fi network. Latency and loss can start in any of them.
A practical rule: if the problem is seen only on your server, it is likely specific to the server; if it is also seen on other servers along the same path, it is on the shared path; if only users of a certain internet service provider are affected, it is on that provider's path. To make this distinction you need a control point.
A single measurement proves nothing. For a meaningful result make at least two comparisons:
mtr combines traceroute and ping and shows loss and latency at every hop on the path together. On a Linux server you can run it in report mode against TCP port 443 like this:
mtr -rwzbc 100 -T -P 443 USER_IP_ADDRESS
The parameters: -r report output, -w wide output, -z shows the AS number of each hop, -b prints both name and IP, -c 100 sends one hundred probes, -T -P 443 probes port 443 with TCP SYN. Ask the user to run the same command against your server's IP address from their side; this reveals the return direction. Taking the measurement while the problem is happening is very important. A measurement taken after the problem is over is a photo of a clear path.
The most common mistake is to treat a percentage of loss at a hop in the middle of the path as real loss. While carrying the traffic that passes through them, routers answer ICMP questions addressed to themselves at low priority and at a limited rate. So loss can appear at an intermediate hop, but if there is no loss at the following hops and at the final destination, the traffic is flowing without trouble.
| What you see | What it means | What to do |
|---|---|---|
| Loss at an intermediate hop, none at later hops and at the destination | Most likely the router's ICMP reply limit, not real loss | Ignore it and look at the final hop |
| Loss starts at one hop and continues to the final destination | Shows that loss started at that hop or right after it | Check which network (AS) the hop belongs to and report it to the carrier concerned |
| High latency at the destination, normal at intermediate hops | The destination itself may be busy or the return path may differ | Check server load at the destination and measure the reverse direction |
| Latency keeps rising after a certain hop | There may be a congested link or a distant geography on the path | Look at location hints in the hop names and at the AS information |
The most reliable line in the mtr output is the final destination. Intermediate hops only hint at where loss starts; on their own they are not proof for blaming anyone.
Counters on the server side are very valuable for understanding whether the problem is related to packets leaving the server reaching the other side. On Linux the following commands help:
nstat -az TcpOutSegs TcpRetransSegs TcpExtTCPTimeouts TcpExtTCPSynRetrans
ss -ti state established '( sport = :443 )'
ip -s link show eth0
ethtool -S eth0 | grep -i -E 'drop|err|miss'
Remember not to interpret a counter on its own: the retransmission ratio accumulated over the whole lifetime can be higher than the ratio in the problem two minutes. In that case the value at the time of the event is not worse than normal and the problem has to be looked for somewhere else.
Dedicated servers in Turkey for network-sensitive services
In the Istanbul location, in a data centre built to Tier 3 standards, with 24/7 support.
Explore dedicated servers in TurkeyThe questions below help you narrow the problem down even without raw measurements:
In a game or web application the value the user sees as "ping" is often the application's own measurement: the client sends a message, the server application processes it and the answer returns. The loop time of the server application, database queries, a single-threaded task waiting and network latency all contribute to this time. So an application-level RTT of 13 seconds does not mean the network was 13 seconds late; TCP retransmission timeouts alone can cause waits of several seconds. To tell which layer is responsible, application measurements should be evaluated together with TCP-level measurements (ss, nstat) and network path measurements (mtr).
Also, protections at the application layer, rate limiting and the service's own configuration are the server owner's responsibility. Where the protection scope begins and ends is stated on the service page and in the agreement; for application-level settings outside that boundary you need to review your own configuration.
A well-prepared request shortens the time to resolution noticeably. For a network, connectivity or performance complaint attach the following to the request:
At SistemDC support requests are accepted 24/7. The scope of a request, the information requested and the communication rules are also summarised in the Support Request Scope and Communication Rules document. To understand the cause of a server shutdown or restart from the records you can also read the technical inspection guide.
A latency problem is often too short to be investigated retrospectively. So setting up monitoring beforehand is the biggest time saver. A simple logging job that writes the output of nstat and ss to a file with a timestamp once a minute, and a TCP measurement that runs at intervals from a different internet service provider, leave you with comparable data when a problem occurs. Record your application's own RTT and loop-time measurements with the same timestamps; that way the application and the network can be compared on the same axis.
For games and real-time services the choice of network path matters too. If most of your users are in Turkey, having the server in Turkey naturally lowers latency; for details you can read the Turkey location server and ping guide, and if you think your server has slowed down you can start with the checklist in detecting performance problems in 10 minutes.
Looking for a virtual server?
With KVM virtualisation, a 1 Gbps port and an Istanbul location.
Explore VDS server plansHow do I tell whether server latency comes from the network or the server?
Check the server's CPU, memory and application latency at the time of the event, then take two-way TCP measurements and mtr from different internet service providers. If server resources are normal, network card counters are clean and the measurement is bad only on a specific path, the problem is on the path.
Is there a problem if mtr shows loss at an intermediate hop?
Not always. Routers answer ICMP questions addressed to themselves at a limited rate, so loss can appear at an intermediate hop. If there is no loss at later hops and at the final destination, traffic is flowing without trouble; if the loss continues to the final destination it is real.
What should I do if ICMP ping is clean but the game stutters?
Games and web services mostly use TCP, and TCP traffic can be treated differently from ICMP. Run mtr with TCP against the real port of your service and record nstat and ss output with timestamps on the server.
Is the TCP retransmission count a packet loss percentage?
No. The counter covers all connections and some segments may be counted more than once. Comparing the difference between the problem hour and a normal hour is meaningful; it should not be presented as a loss percentage on its own.
What information should I attach to a support request?
Attach the date and time range with the time zone, the IP addresses of the server and the affected users, two-way mtr or traceroute output, raw counter logs and who experienced the problem. A comparison measurement of the normal state also helps a lot.
If the in-application ping is 13 seconds, was the network 13 seconds late?
No. The in-application value includes the server loop, the database, waiting tasks and TCP retransmission timeouts together. To separate the layers, evaluate application measurements together with TCP-level and path measurements.