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

Ability to override low-disk space parameter.

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Component/s: other
    • Labels:
      None
    • Environment:
      Platform: All, OS: All
    • Similar Issues:
      Show 5 results

      Description

      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.

        Attachments

          Issue Links

            Activity

            Hide
            scm_issue_link SCM/JIRA link daemon added a comment -

            Code changed in hudson
            User: : kohsuke
            Path:
            trunk/hudson/main/core/src/main/java/hudson/diagnosis/HudsonHomeDiskUsageChecker.java
            trunk/hudson/main/core/src/main/java/hudson/node_monitors/AbstractDiskSpaceMonitor.java
            trunk/hudson/main/core/src/main/java/hudson/node_monitors/DiskSpaceMonitor.java
            trunk/hudson/main/core/src/main/java/hudson/node_monitors/DiskSpaceMonitorDescriptor.java
            trunk/hudson/main/core/src/main/java/hudson/node_monitors/TemporarySpaceMonitor.java
            trunk/hudson/main/core/src/main/resources/hudson/node_monitors/AbstractDiskSpaceMonitor/config.jelly
            trunk/hudson/main/core/src/main/resources/hudson/node_monitors/AbstractDiskSpaceMonitor/help-freeSpaceThreshold.html
            http://fisheye4.cenqua.com/changelog/hudson/?cs=24705
            Log:
            [FIXED JENKINS-2552] Applied a modified version of the patch that improves the usability and code reuse

            Show
            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in hudson User: : kohsuke Path: trunk/hudson/main/core/src/main/java/hudson/diagnosis/HudsonHomeDiskUsageChecker.java trunk/hudson/main/core/src/main/java/hudson/node_monitors/AbstractDiskSpaceMonitor.java trunk/hudson/main/core/src/main/java/hudson/node_monitors/DiskSpaceMonitor.java trunk/hudson/main/core/src/main/java/hudson/node_monitors/DiskSpaceMonitorDescriptor.java trunk/hudson/main/core/src/main/java/hudson/node_monitors/TemporarySpaceMonitor.java trunk/hudson/main/core/src/main/resources/hudson/node_monitors/AbstractDiskSpaceMonitor/config.jelly trunk/hudson/main/core/src/main/resources/hudson/node_monitors/AbstractDiskSpaceMonitor/help-freeSpaceThreshold.html http://fisheye4.cenqua.com/changelog/hudson/?cs=24705 Log: [FIXED JENKINS-2552] Applied a modified version of the patch that improves the usability and code reuse
            Hide
            scm_issue_link SCM/JIRA link daemon added a comment -

            Code changed in hudson
            User: : kohsuke
            Path:
            trunk/hudson/main/core/src/main/java/hudson/diagnosis/HudsonHomeDiskUsageChecker.java
            trunk/hudson/main/core/src/main/java/hudson/node_monitors/AbstractDiskSpaceMonitor.java
            trunk/hudson/main/core/src/main/java/hudson/node_monitors/DiskSpaceMonitor.java
            trunk/hudson/main/core/src/main/java/hudson/node_monitors/DiskSpaceMonitorDescriptor.java
            trunk/hudson/main/core/src/main/java/hudson/node_monitors/TemporarySpaceMonitor.java
            trunk/hudson/main/core/src/main/resources/hudson/node_monitors/AbstractDiskSpaceMonitor/config.jelly
            trunk/hudson/main/core/src/main/resources/hudson/node_monitors/AbstractDiskSpaceMonitor/help-freeSpaceThreshold.html
            http://fisheye4.cenqua.com/changelog/hudson/?cs=24705
            Log:
            [FIXED JENKINS-2552] Applied a modified version of the patch that improves the usability and code reuse

            Show
            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in hudson User: : kohsuke Path: trunk/hudson/main/core/src/main/java/hudson/diagnosis/HudsonHomeDiskUsageChecker.java trunk/hudson/main/core/src/main/java/hudson/node_monitors/AbstractDiskSpaceMonitor.java trunk/hudson/main/core/src/main/java/hudson/node_monitors/DiskSpaceMonitor.java trunk/hudson/main/core/src/main/java/hudson/node_monitors/DiskSpaceMonitorDescriptor.java trunk/hudson/main/core/src/main/java/hudson/node_monitors/TemporarySpaceMonitor.java trunk/hudson/main/core/src/main/resources/hudson/node_monitors/AbstractDiskSpaceMonitor/config.jelly trunk/hudson/main/core/src/main/resources/hudson/node_monitors/AbstractDiskSpaceMonitor/help-freeSpaceThreshold.html http://fisheye4.cenqua.com/changelog/hudson/?cs=24705 Log: [FIXED JENKINS-2552] Applied a modified version of the patch that improves the usability and code reuse
            Hide
            scm_issue_link SCM/JIRA link daemon added a comment -

            Code changed in hudson
            User: : kohsuke
            Path:
            trunk/hudson/main/core/src/main/java/hudson/diagnosis/HudsonHomeDiskUsageChecker.java
            trunk/hudson/main/core/src/main/java/hudson/node_monitors/AbstractDiskSpaceMonitor.java
            trunk/hudson/main/core/src/main/java/hudson/node_monitors/DiskSpaceMonitor.java
            trunk/hudson/main/core/src/main/java/hudson/node_monitors/DiskSpaceMonitorDescriptor.java
            trunk/hudson/main/core/src/main/java/hudson/node_monitors/TemporarySpaceMonitor.java
            trunk/hudson/main/core/src/main/resources/hudson/node_monitors/AbstractDiskSpaceMonitor/config.jelly
            trunk/hudson/main/core/src/main/resources/hudson/node_monitors/AbstractDiskSpaceMonitor/help-freeSpaceThreshold.html
            http://fisheye4.cenqua.com/changelog/hudson/?cs=24705
            Log:
            [FIXED JENKINS-2552] Applied a modified version of the patch that improves the usability and code reuse

            Show
            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in hudson User: : kohsuke Path: trunk/hudson/main/core/src/main/java/hudson/diagnosis/HudsonHomeDiskUsageChecker.java trunk/hudson/main/core/src/main/java/hudson/node_monitors/AbstractDiskSpaceMonitor.java trunk/hudson/main/core/src/main/java/hudson/node_monitors/DiskSpaceMonitor.java trunk/hudson/main/core/src/main/java/hudson/node_monitors/DiskSpaceMonitorDescriptor.java trunk/hudson/main/core/src/main/java/hudson/node_monitors/TemporarySpaceMonitor.java trunk/hudson/main/core/src/main/resources/hudson/node_monitors/AbstractDiskSpaceMonitor/config.jelly trunk/hudson/main/core/src/main/resources/hudson/node_monitors/AbstractDiskSpaceMonitor/help-freeSpaceThreshold.html http://fisheye4.cenqua.com/changelog/hudson/?cs=24705 Log: [FIXED JENKINS-2552] Applied a modified version of the patch that improves the usability and code reuse
            Hide
            scm_issue_link SCM/JIRA link daemon added a comment -

            Code changed in hudson
            User: : kohsuke
            Path:
            trunk/hudson/main/core/src/main/java/hudson/diagnosis/HudsonHomeDiskUsageChecker.java
            trunk/hudson/main/core/src/main/java/hudson/node_monitors/AbstractDiskSpaceMonitor.java
            trunk/hudson/main/core/src/main/java/hudson/node_monitors/DiskSpaceMonitor.java
            trunk/hudson/main/core/src/main/java/hudson/node_monitors/DiskSpaceMonitorDescriptor.java
            trunk/hudson/main/core/src/main/java/hudson/node_monitors/TemporarySpaceMonitor.java
            trunk/hudson/main/core/src/main/resources/hudson/node_monitors/AbstractDiskSpaceMonitor/config.jelly
            trunk/hudson/main/core/src/main/resources/hudson/node_monitors/AbstractDiskSpaceMonitor/help-freeSpaceThreshold.html
            http://fisheye4.cenqua.com/changelog/hudson/?cs=24705
            Log:
            [FIXED JENKINS-2552] Applied a modified version of the patch that improves the usability and code reuse

            Show
            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in hudson User: : kohsuke Path: trunk/hudson/main/core/src/main/java/hudson/diagnosis/HudsonHomeDiskUsageChecker.java trunk/hudson/main/core/src/main/java/hudson/node_monitors/AbstractDiskSpaceMonitor.java trunk/hudson/main/core/src/main/java/hudson/node_monitors/DiskSpaceMonitor.java trunk/hudson/main/core/src/main/java/hudson/node_monitors/DiskSpaceMonitorDescriptor.java trunk/hudson/main/core/src/main/java/hudson/node_monitors/TemporarySpaceMonitor.java trunk/hudson/main/core/src/main/resources/hudson/node_monitors/AbstractDiskSpaceMonitor/config.jelly trunk/hudson/main/core/src/main/resources/hudson/node_monitors/AbstractDiskSpaceMonitor/help-freeSpaceThreshold.html http://fisheye4.cenqua.com/changelog/hudson/?cs=24705 Log: [FIXED JENKINS-2552] Applied a modified version of the patch that improves the usability and code reuse
            Hide
            wahlberg Stefan Wahlberg added a comment -

            (Just a small comment for people having issues with this.)

            I had issues with one of my slaves showing 0.756GB free diskspace when the 'real' free space equalled around 121GB .

            Resolved this by adding -Djava.io.tmpdir=/var/tmp to my JVM Options for the slave having the issue. (Note that i used the same location that was already specified in the system properties.)

            This worked well!

            Show
            wahlberg Stefan Wahlberg added a comment - (Just a small comment for people having issues with this.) I had issues with one of my slaves showing 0.756GB free diskspace when the 'real' free space equalled around 121GB . Resolved this by adding -Djava.io.tmpdir=/var/tmp to my JVM Options for the slave having the issue. (Note that i used the same location that was already specified in the system properties.) This worked well!

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: