Details
-
Type:
Bug
-
Status: Resolved (View Workflow)
-
Priority:
Blocker
-
Resolution: Fixed
-
Component/s: core
-
Labels:
-
Environment:Windows server 2008 R2 (A VM). 32GB RAM, X5765 @3.07 GHz (6 processors)
Jenkins 1.554.3; 1.565.1;
-
Similar Issues:
Description
The symptom is:
When I download a file, e.g. the file size should be 472MB, and at the first few seconds, the progress shows 46.8/472MB and changes with size. Then suddenly the file size because 169/169MB and then finished download without error.
Meet this issue in IE/Chrome/Firefox. Clear the load download history could resolve it for a while but may have the same issue other other download in other jobs(We have several jobs with the same artifact name)
Run jenkins with
<executable>C:\Program Files\Java\jre7\bin\java.exe</executable>
<arguments>-d64 -Xrs -XX:MaxPermSize=2g -Xmx16g -Dhudson.lifecycle=hudson.lifecycle.WindowsServiceLifecycle -jar "%BASE%\jenkins.war" --httpPort=8080</arguments>
Attachments
Issue Links
- is related to
-
JENKINS-26702 Jetty-Winstone silently aborts file downloads due to timeout
-
- Open
-
@Daniel Beck: Today I'm adding the --httpKeepAliveTimeout=600000 flag, and we'll see what happens.
Still, this timeout cannot be the whole story: the report sounds like the problem does not occur with 1.532.3 and before, while it does occur with 1.554.3 and later. (The fact that for me, a remote 1.456 also triggers the problem might be an outlier...?) If the default for httpKeepAliveTimeout has not changed (and I think it is already 5000 for quite some time), and multiple users' networks didn't simultaneously and suddenly deteriorate, then there has to be some other cause.
Right?
Finally, we also have seen this problem occurring with 1.565.1 on our local LAN, which is when we got the timeout exception. I'm pretty sure our local LAN not have any real networking problems, but I could be wrong of course, and the timeout occurring on 1.565.1 could be a coincidence which could equally have happened on 1.532.3.