[Buildbot-devel] Limiting resource usage
Amber Yust
ayust at yelp.com
Tue Mar 20 20:40:46 UTC 2012
The simplest would be to simply run ulimit in whatever context you're
starting the buildslave in, before you restart it.
(In other words, if you're starting it from a shell or shell script, run
ulimit there before the command; if you're starting it from somewhere else,
ulimit&&... can work fine too.)
~Amber
On Tue, Mar 20, 2012 at 1:34 PM, Evan Driscoll <driscoll at cs.wisc.edu> wrote:
> What's the best way to limit resource (read: memory, at least for my
> purposes) usage on a Linux slave?
>
> I have a test which, under one configuration, is currently using oodles
> of memory and sending the slave into a paging & killing processes fit.
>
> Should I stop the buildslave, 'ulimit', then restart it? Change the
> command to say 'ulimit ... && ...'? Or is there some better way?
>
> Evan
>
>
>
> ------------------------------------------------------------------------------
> This SF email is sponsosred by:
> Try Windows Azure free for 90 days Click Here
> http://p.sf.net/sfu/sfd2d-msazure
> _______________________________________________
> Buildbot-devel mailing list
> Buildbot-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/buildbot-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://buildbot.net/pipermail/devel/attachments/20120320/8649fd01/attachment.html>
More information about the devel
mailing list