Hi, Some tcp connections hang sometimes and I can't find the problem. When Maven is downloading libraries from maven repo, sometimes it blocks in one of the downloads, making the entire build hang. It is difficult to reproduce as it only happens rarely, but I was able to capture it on wireshark (with tshark). This is the end of the build output:
It hangs here. It is in this state for some days without progress. With ss, I can see the problematic connection:
Now the wireshark output. I stopped capturing after a while - I know I should have continued. https://www.cloudshark.org/captures/36aa46f0f901 Thanks for any hints! asked 22 Apr '13, 01:28 dmeneses |
One Answer:
From a first glance at the tracefile, it looks like host repo1.maven.org is overloaded. Look at the time gaps between frames 94 and 95 and also between frames 114 and 115. Your client has acknowledged all data, still the server takes a long time to send new data. What is keeping it? It might be on purpose to throttle bandwidth, although I would have expected a more granular control in that case. Or maybe there is a proxy in between that downloads chunks and then quickly passes the data down to you? answered 22 Apr '13, 01:57 SYN-bit ♦♦ |