Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 26 Mar 2013 11:55:01 +0000
From:      Nicolas de Bari Embriz Garcia Rojas <nbari@inbox.im>
To:        freebsd-jail@freebsd.org
Subject:   add more swap to jail within a jail
Message-ID:  <51518C95.2010902@inbox.im>
In-Reply-To: <CAFgRE9FqqJSTrtTA4PmdSsCdbEGi57jHOLZH0EkK83yJ3HqYpQ@mail.gmail.com>
References:  <CAJ-Y7VcZ=EbAesb%2B8Pup1YsSE_yaM_345KZjwibjaC=GMo0xfA@mail.gmail.com> <CAFgRE9FqqJSTrtTA4PmdSsCdbEGi57jHOLZH0EkK83yJ3HqYpQ@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi, how can I add more swap space within a jail ?

I have a jail  with limited resources via rctl with somethiing like:

jail:myjail:maxproc:deny=50
jail:myjail:memoryuse:deny=512M
jail:myjail:swapuse:deny=512M

But I want to know it it is  possible to add jail disk space to
increment the swap ?

I am  trying to compile gearmand/boots-libs but I can't since eats to
much memory.

An initial solution is to add the swap on the host, but is there a way
to do it within the jail so that the (root user/admin) doesn't have to
bother the host admin.

any ideas?

regards.

 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?51518C95.2010902>