Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-8706

Can't download artefacts greater than or equal to 2GB, can't use file params greater than or equal to 2GB

    • Icon: Bug Bug
    • Resolution: Not A Defect
    • Icon: Blocker Blocker
    • core
    • None
    • Windows XP

      When an artefact is archived it can't be downloaded if its file size is >=2GB.

      Steps for upload failure:
      1. Setup a project that takes a file paremeter
      2. Start a new build, it asks for a file to be uploaded
      3. Select a file thats >=2GB
      4. The page 404's

      Steps for download failure:
      1. Setup a project that archives artefacts
      2. The actual build that causes this issue generates a huge zip file (about 2.5GB), the zip file is created using 7z NOT by Jenkins download as zip feature.
      3. Attempt to download this using the URL at the end of the build, it will 404, yet the download as zip or the "view" link appears to work ok

          [JENKINS-8706] Can't download artefacts greater than or equal to 2GB, can't use file params greater than or equal to 2GB

          Paul M added a comment -

          It appears that this must be a Winstone issue. Since after running Jenkins and testing from the NetBeans IDE this problem does not happen. I think the difference is Jetty VS Winstone?

          Paul M added a comment - It appears that this must be a Winstone issue. Since after running Jenkins and testing from the NetBeans IDE this problem does not happen. I think the difference is Jetty VS Winstone?

          Marcel Stör added a comment - - edited

          File size is strongly limited by OS, file system and software (browser) design. 32 bit software (and 32 bit OS) can handle signed numbers as large as 2 GB (minus 2147483648 to 2147483648 or so). I guess the limiting factor is neither Winstone nor Jenkins but your browser. It seems unlikely to be a (client-)OS issue as I assume you ran the NetBeans IDE on the same OS as the browser?
          In any case I believe you should close this issue. It's not a bug with Jenkins let alone a blocker bug.

          Marcel Stör added a comment - - edited File size is strongly limited by OS, file system and software (browser) design. 32 bit software (and 32 bit OS) can handle signed numbers as large as 2 GB (minus 2147483648 to 2147483648 or so). I guess the limiting factor is neither Winstone nor Jenkins but your browser. It seems unlikely to be a (client-)OS issue as I assume you ran the NetBeans IDE on the same OS as the browser? In any case I believe you should close this issue. It's not a bug with Jenkins let alone a blocker bug.

          Paul M added a comment -

          I'm sure its a winstone issue because its resolved by using Jetty which must use long's instead of int's for the file size (all other software/hardware was the same). I'll close this issue.

          Paul M added a comment - I'm sure its a winstone issue because its resolved by using Jetty which must use long's instead of int's for the file size (all other software/hardware was the same). I'll close this issue.

          Fixed in winstone.
          See JENKINS-12854.

          OHTAKE Tomohiro added a comment - Fixed in winstone. See JENKINS-12854 .

            Unassigned Unassigned
            paulm Paul M
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: