From owner-freebsd-questions@FreeBSD.ORG Wed Mar 11 15:05:43 2015 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 04A9971 for ; Wed, 11 Mar 2015 15:05:43 +0000 (UTC) Received: from smtp5.hushmail.com (smtp5.hushmail.com [65.39.178.142]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "smtp.hushmail.com", Issuer "smtp.hushmail.com" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id D818BAD4 for ; Wed, 11 Mar 2015 15:05:42 +0000 (UTC) Received: from smtp5.hushmail.com (localhost [127.0.0.1]) by smtp5.hushmail.com (Postfix) with SMTP id 07593605A9 for ; Wed, 11 Mar 2015 15:05:42 +0000 (UTC) Received: from smtp.hushmail.com (w3.hushmail.com [65.39.178.62]) by smtp5.hushmail.com (Postfix) with ESMTP; Wed, 11 Mar 2015 15:05:40 +0000 (UTC) Received: by smtp.hushmail.com (Postfix, from userid 99) id 5A087C044F; Wed, 11 Mar 2015 15:05:40 +0000 (UTC) MIME-Version: 1.0 Date: Wed, 11 Mar 2015 15:05:40 +0000 To: "Polytropon" , "Julien Cigar" Subject: Re: Limiting CPU on some processes on web server From: opendaddy@hushmail.com In-Reply-To: <20150311153635.a87543cc.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> <20150311141644.GS6600@mordor.lan> <20150311153635.a87543cc.freebsd@edvax.de> Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="UTF-8" Message-Id: <20150311150540.5A087C044F@smtp.hushmail.com> Cc: freebsd-questions@freebsd.org, jessefrgsmith@yahoo.ca X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Mar 2015 15:05:43 -0000 I've asked that the sysutils/cpulimit maintainer please upgrade the port. Thanks a lot for the help guys! Have a wonderful week! O.D. On 11. mars 2015 at 2:27 PM, "Polytropon" wrote: > >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, ...