Quantcast

How to configure minimum disk free space for single Hudson slave

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

How to configure minimum disk free space for single Hudson slave

Lars Nordin
I want to override the default minimum disk free requirements for free disk space and free temp space on single slave.

From reading the docs, I have added -Dhudson.diagnosis.HudsonHomeDiskUsageChecker.freeSpaceTheshold=536870912 in JVM options, to override the home directory minimum. What are the corresponding properties for the other limits?

I have tried setting these properties:
 hudson.diagnosis.HudsonTempDiskUsageChecker.freeSpaceTheshold
 hudson.diagnosis.HudsonDiskUsageChecker.freeSpaceTheshold
and then disconnecting and re-connecting the node but I still get out of space warnings.

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: How to configure minimum disk free space for single Hudson slave

Joakim Olsson
Shouldn't it be Threshold rather than Theshold in all those properties?

/Joakim


On Fri, Apr 1, 2011 at 2:47 AM, Lars Nordin <[hidden email]> wrote:

> I want to override the default minimum disk free requirements for free disk space and free temp space on single slave.
>
> From reading the docs, I have added -Dhudson.diagnosis.HudsonHomeDiskUsageChecker.freeSpaceTheshold=536870912 in JVM options, to override the home directory minimum. What are the corresponding properties for the other limits?
>
> I have tried setting these properties:
>  hudson.diagnosis.HudsonTempDiskUsageChecker.freeSpaceTheshold
>  hudson.diagnosis.HudsonDiskUsageChecker.freeSpaceTheshold
> and then disconnecting and re-connecting the node but I still get out of space warnings.
>
>
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

RE: How to configure minimum disk free space for single Hudson slave

Lars Nordin
Doh. I thought that was a typo on my part but it is actually on the wiki page:
http://wiki.jenkins-ci.org/display/JENKINS/Features+controlled+by+system+properties
Thanks.

I did fix that misspelling and restarted the slave but the slave is still being marked with too little disk space.

I've tried looking through the source code and it seems that it is only the home directory minimum free space that can be overwritten. I've put in a ticket JENKINS-9220 to have these properties added.


-----Original Message-----
From: [hidden email] [mailto:[hidden email]] On Behalf Of Joakim Olsson
Sent: Friday, April 01, 2011 1:11 AM
To: [hidden email]
Subject: Re: How to configure minimum disk free space for single Hudson slave

Shouldn't it be Threshold rather than Theshold in all those properties?

/Joakim


On Fri, Apr 1, 2011 at 2:47 AM, Lars Nordin <[hidden email]> wrote:

> I want to override the default minimum disk free requirements for free disk space and free temp space on single slave.
>
> From reading the docs, I have added -Dhudson.diagnosis.HudsonHomeDiskUsageChecker.freeSpaceTheshold=536870912 in JVM options, to override the home directory minimum. What are the corresponding properties for the other limits?
>
> I have tried setting these properties:
>  hudson.diagnosis.HudsonTempDiskUsageChecker.freeSpaceTheshold
>  hudson.diagnosis.HudsonDiskUsageChecker.freeSpaceTheshold
> and then disconnecting and re-connecting the node but I still get out of space warnings.
>
>
Loading...