Date: Tue, 10 Jan 2017 09:19:58 +0800 From: Ernie Luzar <luzar722@gmail.com> To: Steve O'Hara-Smith <steve@sohara.org> Cc: freebsd-questions@freebsd.org Subject: Re: Resource Limits Within Jails Message-ID: <587436BE.20207@gmail.com> In-Reply-To: <20170105191847.705e2e863078640a98bfb330@sohara.org> References: <118410c1-1e3e-2388-ea5b-682515bc39f1@ssimicro.com> <20170105191847.705e2e863078640a98bfb330@sohara.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Steve O'Hara-Smith wrote: > On Thu, 5 Jan 2017 11:53:55 -0700 > markham breitbach <markham@ssimicro.com> wrote: > >> I am trying to figure out the best way to manage resource limits for a >> particular daemon within a jail (specifically memory usage), without >> having to limit the entire jail and other processes within. > > Not specific to jails but one way is to start the daemon from a > shell script and use ulimit to set resource limits before execing the > daemon. > I remember reading about resource limiting functions being added to the base system in 10.x or maybe it was a port. I don't recall its name. It has ability to do jail resource limiting. It has also been talked about on this list. Do a find on "resource limiting" in this list archives.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?587436BE.20207>