English 中文(简体)
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.

Only place I know where to configure a threshold (turn on/off, really)

And then I look at the Node and I see the following: Master Node claims 546MB is too little to work with.

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?

最佳回答

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 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.

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.





相关问题
Redirect subdomain to /folder

I want to redirect the sub-domain webmail to /roundcube for that domain. This have to work for all virtual hosts in apache. Example: webmail.example.com must point to [www.]example.com/roundcube ...

Fastest way to store easily editable config data in PHP?

What is the fastest way to store config data in PHP so that it is easily changeable (via PHP)? First I thought about having config.php file, but I can t edit it on fly with PHP, at least not very ...

siFR 3, no fonctionnal issues for some Javascript params

I m trying to use siFR 3. I need set to the flash element to use max width for a text replaced. The width of flash text can use 200px MAX. The problem of the following code is that Here s is my ...

Getting a Reference to a Zend_Application s Config Object

Is there a helper method/object/methodology for getting a reference to a Zend_Application s config resource? I know I can do something like $config = new Zend_Config_Ini($file, $environment); but ...

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 ...

trigger config transformation in TFS 2010 or msbuild

I m attempting to make use of configuration transformations in a continuous integration environment. I need a way to tell the TFS build agent to perform the transformations. I was kind of hoping it ...

wix custom dialog for config edit

hi i m trying make a setup msi for my application with wix v3 I have a problem about this task; I need a user input that will be stored in my application s config file (for example i need a dialog for ...

热门标签