Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Whenever I ping my website, I get 5% packet loss consistently. However, pinging other sites such as google produce no packet loss. I'm really not fond of my webserver dropping packets, but I'm not sure if it's just the route or my server or something to contact my hosting provider about.

What I basically needs is something like traceroute, but that also checks for packet loss. Is there such a tool on Linux and/or OpenBSD?

share|improve this question

2 Answers 2

A tool like mtr (Linux, FreeBSD) should do the trick.

But be aware that interpreting the output can be tricky! Be sure you understand what you see...

share|improve this answer
    
+1, mtr is a very handy tool when troubleshooting packet loss problems. –  Kwaio Feb 26 at 13:43

Traceroute only shows 1/2 the path: the path from the host doing the traceroute to the destination. To get the full path, one must log into the remote server, and do a traceroute back to the local system. Should you have root privs on the webserver, doing a tcpdump to watch for ICMP echo-requests from your local host will tell you if they're all getting there. Then, send pings from the web server back to your local host, and count those.

If the server's CPU is high, it will not respond to ICMP requests. RSVP and other protocols may have ICMP's QoS at a very low priority, so it might be worthwhile to check how actual traffic transfers between your two hosts are performing. A loss of a packet will cause a perceptible hang in the data stream; If there's no pause in a file transfer, then no packet loss exists.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.