Date: Thu, 12 Mar 2015 01:25:30 +0000 From: opendaddy@hushmail.com To: "Polytropon" <freebsd@edvax.de> Cc: freebsd-questions@freebsd.org Subject: Re: Limiting CPU on some processes on web server Message-ID: <20150312012530.DA0CFE0404@smtp.hushmail.com> In-Reply-To: <20150311151157.5baea8b7.freebsd@edvax.de> References: <20150311122656.96F2020341@smtp.hushmail.com> <20150311141347.1013d42d.freebsd@edvax.de> <20150311134232.838ABC0451@smtp.hushmail.com> <20150311144958.3ef9519d.freebsd@edvax.de> <20150311140420.1646CC044F@smtp.hushmail.com> <20150311151157.5baea8b7.freebsd@edvax.de>
next in thread | previous in thread | raw e-mail | index | archive | help
Hi, On 11. mars 2015 at 2:03 PM, "Polytropon" <freebsd@edvax.de> wrote: > >https://github.com/opsengine/cpulimit > >If you manually add "#include <libgen.h>" to src/cpulimit.c >and remove "#ifdef __APPLE__" ... "#endif" from >tests/process_iterator_test.c >around the "#include <libgen.h>" line, you can run "gmake" >(in src/ and /test, or at the top level), and it will successfully >build. > >Result: > >$ ./cpulimit >Error: You must specify a cpu limit percentage Are you able to successfully limit any processes with it? Over here it seems to force 0% no matter what. Spoke to the sysutils/cpulimit guy. Seems he's no longer the maintainer and can't be of any help. Thanks! O.D.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20150312012530.DA0CFE0404>