From owner-freebsd-questions@FreeBSD.ORG Wed Mar 11 13:04:49 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 B3D14F4E for ; Wed, 11 Mar 2015 13:04:49 +0000 (UTC) Received: from smtp1.hushmail.com (smtp1.hushmail.com [65.39.178.135]) (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 9926D904 for ; Wed, 11 Mar 2015 13:04:49 +0000 (UTC) Received: from smtp1.hushmail.com (localhost [127.0.0.1]) by smtp1.hushmail.com (Postfix) with SMTP id CCAFE401CA for ; Wed, 11 Mar 2015 12:26:56 +0000 (UTC) Received: from smtp.hushmail.com (w6.hushmail.com [65.39.178.92]) by smtp1.hushmail.com (Postfix) with ESMTP for ; Wed, 11 Mar 2015 12:26:56 +0000 (UTC) Received: by smtp.hushmail.com (Postfix, from userid 99) id 96F2020341; Wed, 11 Mar 2015 12:26:56 +0000 (UTC) MIME-Version: 1.0 Date: Wed, 11 Mar 2015 12:26:56 +0000 To: freebsd-questions@freebsd.org Subject: Limiting CPU on some processes on web server From: opendaddy@hushmail.com Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="UTF-8" Message-Id: <20150311122656.96F2020341@smtp.hushmail.com> 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 13:04:49 -0000 Hi! I run this web app that depends on ImageMagick to process images and ffmpeg to process videos. These processes, unfortunately, consume 100% of my CPU, rendering my web app unusable (gateway timeout). Tried `nice -n 19` but to no avail. What other options do I have? Thanks! O.D.