Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 11 Mar 2015 15:36:35 +0100
From:      Polytropon <freebsd@edvax.de>
To:        Julien Cigar <jcigar@ulb.ac.be>
Cc:        opendaddy@hushmail.com, freebsd-questions@freebsd.org
Subject:   Re: Limiting CPU on some processes on web server
Message-ID:  <20150311153635.a87543cc.freebsd@edvax.de>
In-Reply-To: <20150311141644.GS6600@mordor.lan>
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> <20150311141644.GS6600@mordor.lan>

next in thread | previous in thread | raw e-mail | index | archive | help
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, ...



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20150311153635.a87543cc.freebsd>