How to solve jenkins 'Disk space is too low' issue?

前端 未结 8 1260
南笙
南笙 2021-01-31 07:40

I have deployed Jenkins in my CentOS machine, Jenkins was working well for 3 days, but yesterday there was a Disk space is too low. Only 1.019GB left.

8条回答
  •  南方客
    南方客 (楼主)
    2021-01-31 08:35

    This is actually a legitimate question so I don't understand the downvotes, perhaps it belongs on Superuser or Serverfault. This is a soft warning threshold not hard limit where the disk is out of space.

    • For hudson see where to configure hudson node disk temp space thresholds - this is talking about the host, not nodes

    Jenkins is the same. The conclusion is for many small projects the system property called hudson.diagnosis.HudsonHomeDiskUsageChecker.freeSpaceThreshold could be decreased.

    In saying that I haven't tested it and there is a disclaimer

    No compatibility guarantee

    In general, these switches are often experimental in nature, and subject to change without notice. If you find some of those useful, please file a ticket to promote it to the official feature.

提交回复
热议问题