4 ms·
tcpdump or a pcap should probably show something fairly obvious for a 40 second delay. But my guess is path mtu problems. I've written a test for this; it's unp
by toast0 4y ago
tcpdump or a pcap should probably show something fairly obvious for a 40 second delay. But my guess is path mtu problems. I've written a test for this; it's unpolished but might help you out.
http://pmtud.enslaves.us/ http://pmtud.enslaves.us/
click start, and wait for the test to finish. If the table shows notes other than OK in the right column, you might have an issue. If you do, probably you can fix it by applying MSS clamping on your internet router, or manually setting an MTU appropriate to your connection.
- prakhar897 4y agotried, everything comes OK. This happens infrequently, where sometimes pages take very very long to load. Other sites run fine meanwhile.
- toast0 4y agoIf I were you, I'd run something like tcpdump -n -w ycomb.pcap host news.ycombinator.com and leave it running; if you experience an issue, note the time, ctrl-C tcpdump and open it in wireshark and see if you see anything interesting. If there's nothing there, it might be a DNS issue, which you'd need a different pcap for. You might also need to select the right interface.