High Latency and General Lag
If you are experiencing higher than normal server-sided latency
Causes
Your server has higher than normal load average. Check
htop
to ensure no processes are consuming higher than normal CPU.Your spigot instances themselves are suffering degraded TPS
The backend is located too far away from our edge proxies. (In other terms, your server is geographically too far from our edge network - as your internet packet has to travel a longer route to reach its destination. See our FAQ and Premium Features regarding locations).
There is packet loss between you and our network, which could result from:
Link saturation at any point in the route between us and you
The backend resides on an unstable network (i.e. residential)
Packets are taking a longer route on either the send or return path
Troubleshooting
We will use a tool called mtr
to diagnose any packet loss that might be occuring between TCPShield and your backend. To get started, we will install the utility:
Debian/Ubuntu
CentOS/Fedora
Now, we will perform an MTR to one of our proxies to determine packet loss on the return path from your server to TCPShield. We can do this as follows:
You will see an output that looks something like this:
The???
on hop 5 is expected, as we have ICMP (ping packets) dropped across our network.
As you can see, this backend gets about 14ms to the edge network of BHS. There does not appear to be anything wrong in this trace.
Here is an example of where something might be wrong:
As you can see, we have high packet loss on hop 4 when packets leave Psychz's network in Australia to Los Angeles on NTT. In this case, you would need to contact your hosting provider and show them this MTR, as well as provide the IP you're testing from (your box IP), IP you're testing to (31.25.11.0), and other helpful related information that may help them diagnose.
Last updated