[UPDATECENTER2-1956] Vista: bootstrap can hang when Receive Window Auto-Tuning enabled Created: 08/Dec/09  Updated: 22/Sep/10  Resolved: 22/Sep/10

Status: Resolved
Project: updatecenter2
Component/s: pkg-java
Affects Version/s: B39
Fix Version/s: B146

Type: Bug Priority: Major
Reporter: Joe Di Pol Assignee: Tom Mueller
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Operating System: Windows Vista
Platform: PC

Issuezilla Id: 1,956
Tags: 2_3u3, rn


As reported in this GlassFish Bug:


The bootstrapper can hang on Vista (and Windows 7) when Vista's Auto-Tuning
feature is enabled. This feature is enabled by default.

The workaround is to highly restrict or disable auto-tuning:

netsh interface tcp show global

netsh interface tcp set global autotuning=disabled

(using autotuning=high also appears to do the trick, at least for the cases we
have seen).

Tom has some ideas on things we can do in the bootstrap Java code to reduce the
chance of the hang occuring when auto-tuning is enabled.

Comment by Tom Mueller [ 15/Jan/10 ]

The plan for this is to change the bootstrap code to use the same file download
procedure as the Python API, i.e., download the files one at a time. This is
expected to eliminate the auto-tune problem.

Comment by Tom Mueller [ 28/Jan/10 ]

Fix integrated in revision 2715.

The Java API now uses file requests rather than filelist requests to download
files. This should eliminate the problem with TCP window auto-tuning.

Comment by rajkumarsrinivasan [ 06/Jul/10 ]

Backported in revision 2797.

Generated at Sat Oct 22 12:22:48 UTC 2016 using JIRA 6.2.3#6260-sha1:63ef1d6dac3f4f4d7db4c1effd405ba38ccdc558.