Jenkins : CloudBees Simple Disk Usage Plugin

Plugin Information

View CloudBees Disk Usage Simple on the plugin site for more information.

This is a simple disk usage plugin that calculates disk usage while limiting the performance impact on the Jenkins master.

To avoid consuming too many I/O resources, the directory traversal process is throttled and should not be able to consume more than half available IO.

The original Disk Usage plugin offers many more features, however it consumes many more resources and in some instances can prevent the Jenkins master from operating correctly

This plugin:

  • uses Java 7 NIO directory walker API to calculate the size of jobs and 1st level directories under $JENKINS_HOME
  • throttle the directory scan to help prevent the load average from climbing too high
  • a refresh of usage data is automatically launched when you display the screen and they are older than 15 minutes
  • a refresh of usage data can be also manually requested, but only one at a time will occur

To use this plugin visit the Manage Jenkins -> Disk usage page.

History

0.9 (2017-08-03)

  • (info)  Postpone disk usage update after Jenkins is fully up (JENKINS-45943)

0.8 (2017-06-06)

0.7 (2017-05-24)

  • (info) Rewrite the low level code to use Java 7 NIO directory walker. The plugin does not rely on du command anymore and works everywhere now. (JENKINS-44445)

0.6 (2017-05-24)

Not released, had permission issue during publication

0.5 (2015-10-05)

  • (error) du wasn't correctly launched using ionice
  • (error) Don't let du processes run for more than 20 seconds for a period of time. The periodic task will retry to compute directory size next time it gets scheduled. By that time, we assume that OS system cache will hold more inode entries to complete faster.
  • (info) Use the the system property com.cloudbees.simplediskusage.QuickDiskUsagePlugin.command to override the du command

0.4 (2015-09-25)

  • (error) Plugin is too verbose (JENKINS-30279)
  • (error) When a refresh of data is manually triggered, it is processed 2 times (JENKINS-30631)
  • (info) When a refresh of data is manually triggered, the screen displays nothing (JENKINS-30633)
  • (info) List JENKINS_HOME and its first level sub directories disk usages (JENKINS-30311)
  • (info) Computes data when Jenkins is up and stores them across restarts (JENKINS-30635)
  • (info) Improve messages about data status (JENKINS-30636)
  • (info) Allow auto-refresh on disk usage screens (JENKINS-30637)
  • (info) Increase the refresh period from 3 to 15 minutes (JENKINS-30638)
    + various UI and code improvements

0.3 (2015-08-06)

  • (info) Display disk usage of `java.io.tmpdir` (JENKINS-29516)
  • (info) The plugin identifier was renamed from cloudbees-disk-usage-simple to cloudbees-disk-usage-simple-plugin. You will have to uninstall the 0.1 version and install the 0.2 from the update center.
  • (error) Improve message displayed when statistics aren't yet available

0.2

Trashed (smile)

0.1

Initial release