• Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Major Major
    • other
    • None
    • Platform: All, OS: All

      In 1.231, a feature was added to take builds offline when disk space gets low.

      Right now, "disk space gets low" is defined as having less than 1GB free disk
      space. There are situations, however, where the user would like to override
      this value to be either smaller or larger.

          [JENKINS-2552] Ability to override low-disk space parameter.

          plinehan created issue -

          mdonohue added a comment -
              • Issue 2912 has been marked as a duplicate of this issue. ***

          mdonohue added a comment - Issue 2912 has been marked as a duplicate of this issue. ***
          mdonohue made changes -
          Link New: This issue is duplicated by JENKINS-2912 [ JENKINS-2912 ]

          asiderop added a comment -

          This issue forces the given node to go offline whenever low disk space is
          detected. It appears that Hudson is checking /tmp directory for free space, even
          though Hudson is not being run from that partition on the node.

          Is there a workaround for changing the threshold or the directory it checks for
          disk space?

          asiderop added a comment - This issue forces the given node to go offline whenever low disk space is detected. It appears that Hudson is checking /tmp directory for free space, even though Hudson is not being run from that partition on the node. Is there a workaround for changing the threshold or the directory it checks for disk space?

          Mark Waite added a comment -

          I passed -Djava.io.tmpdir=/some/disc/with/lots/of/space and that seemed to
          satisfy Hudson that it now had enough temporary space to perform its work. In
          my case, /tmp has less than 1 GB free, and /var/tmp has 10 GB free, so I passed
          -Djava.io.tmpdir=/var/tmp on the command line I used to start Hudson

          Mark Waite added a comment - I passed -Djava.io.tmpdir=/some/disc/with/lots/of/space and that seemed to satisfy Hudson that it now had enough temporary space to perform its work. In my case, /tmp has less than 1 GB free, and /var/tmp has 10 GB free, so I passed -Djava.io.tmpdir=/var/tmp on the command line I used to start Hudson

          mjparme added a comment -

          I have had a problem with /tmp space since 1.294. The build queues stop building
          because Hudson no longer appears to like the 300 megs of tmp space the box has.

          This value should be configurable, Hudson has never had a problem working with
          300 megs of /tmp space prior to this. What IS the size that triggers it to stop
          building?

          I also had a problem with the "disk space gets low" issue sometime ago but I was
          able to convince and admin to resize the partition. However, that value should
          be configurable as well.

          mjparme added a comment - I have had a problem with /tmp space since 1.294. The build queues stop building because Hudson no longer appears to like the 300 megs of tmp space the box has. This value should be configurable, Hudson has never had a problem working with 300 megs of /tmp space prior to this. What IS the size that triggers it to stop building? I also had a problem with the "disk space gets low" issue sometime ago but I was able to convince and admin to resize the partition. However, that value should be configurable as well.

          mdonohue added a comment -
              • Issue 3479 has been marked as a duplicate of this issue. ***

          mdonohue added a comment - Issue 3479 has been marked as a duplicate of this issue. ***
          mdonohue made changes -
          Link New: This issue is duplicated by JENKINS-3479 [ JENKINS-3479 ]

          mjparme added a comment -
              • Issue 2536 has been marked as a duplicate of this issue. ***

          mjparme added a comment - Issue 2536 has been marked as a duplicate of this issue. ***
          mjparme made changes -
          Link New: This issue is duplicated by JENKINS-2536 [ JENKINS-2536 ]

            davidmc24 davidmc24
            plinehan plinehan
            Votes:
            8 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: