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

Switch to Java 7 NIO directory walker to compute disk usage

    XMLWordPrintable

Details

    Description

      The plugin currently uses du -k  to compute disk usage. This is not portable and not efficient:  the plugin walks the Jenkins root folder twice, once for jobs, once for the whole folder.

      The IO throttling mechanism uses ionice which is not effective on all platforms and depends whether there's a IO scheduler available on Linux which is not the case anymore when mq-blk is active. Let's switch to something simpler and working everywhere.

      Attachments

        Activity

          ydubreuil Yoann Dubreuil created issue -
          ydubreuil Yoann Dubreuil made changes -
          Field Original Value New Value
          Resolution Fixed [ 1 ]
          Status Open [ 1 ] Resolved [ 5 ]

          People

            ydubreuil Yoann Dubreuil
            ydubreuil Yoann Dubreuil
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: