Limiting CPU on some processes on web server

Polytropon freebsd at edvax.de
Wed Mar 11 14:36:38 UTC 2015


On Wed, 11 Mar 2015 15:16:44 +0100, Julien Cigar wrote:
> there is sysutils/cpulimit too ..

Judging from its manpage (yes, it _has_ a manpage!):

       -l, --limit=N
              percentage of CPU allowed from 0 to 100 (mandatory)

This seems to fulfill the requirement of setting the limit
according to load percentage, instead of time (like ulimit -t).


-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...


More information about the freebsd-questions mailing list