Limiting CPU on some processes on web server

opendaddy at opendaddy at
Thu Mar 12 01:25:32 UTC 2015


On 11. mars 2015 at 2:03 PM, "Polytropon" <freebsd at> wrote:
>If you manually add "#include <libgen.h>" to src/cpulimit.c
>and remove "#ifdef __APPLE__" ... "#endif" from 
>around the "#include <libgen.h>" line, you can run "gmake"
>(in src/ and /test, or at the top level), and it will successfully
>$ ./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.



More information about the freebsd-questions mailing list