开发者

Where to configure Hudson node disk/temp space thresholds?

I am currently running a Hudson instance on a VM slice. As I don't have a need to run more than a couple small applications from it, I'm minimizing how much space I devote to it. The sizes I've defined for this slice seem fine to me, however Hudson seems to have it's own ideas on what are considered minimum disk and temp space thresholds.

Where to configure Hudson node disk/temp space thresholds?

And then I look at the Node and I see the following:

Where to configure Hudson node disk/temp space thresholds?

546MB does not seem like too开发者_开发百科 little space for running my small number of applications, but Hudson seems to disagree. Is there any place I can configure Hudson to redefine what it considers too low for disk and temp space?


It is configurable from the web interface:

Hudson > Nodes > Configure > Preventive Node Monitoring > Free Disk Space (defaulted to 1GB)

You might also want to change Free Temp Space whilst you're there.

Be aware that you'll need to give Hudson some time to pick up on the change after you save it. So if the free disk space warning doesn't disappear as soon as you return to the nodes page, don't worry - the disk space monitor only runs once an hour.


Since Hudson 1.339 it is configurable. See here http://wiki.hudson-ci.org/display/HUDSON/Features+controlled+by+system+properties

The property is called hudson.diagnosis.HudsonHomeDiskUsageChecker.freeSpaceTheshold


It's not configurable. Just turn off the monitors, so your nodes stay online.

See issue HUDSON-2552 for a fix. The code is not yet part of Hudson though.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜