From owner-freebsd-questions@FreeBSD.ORG Thu Aug 24 05:17:59 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 76D5A16A4DD for ; Thu, 24 Aug 2006 05:17:59 +0000 (UTC) (envelope-from dave@raven.za.net) Received: from elektra.opteqint.net (elektra.opteqint.net [209.25.178.105]) by mx1.FreeBSD.org (Postfix) with ESMTP id 326CB43D49 for ; Thu, 24 Aug 2006 05:17:58 +0000 (GMT) (envelope-from dave@raven.za.net) Received: from [165.145.171.96] (helo=lucy) by elektra.opteqint.net with esmtpsa (TLSv1:RC4-MD5:128) (Exim 4.62 (FreeBSD)) (envelope-from ) id 1GG7kC-000MT5-H8 for freebsd-questions@freebsd.org; Wed, 23 Aug 2006 22:27:10 -0700 From: "Dave Raven" To: Date: Thu, 24 Aug 2006 07:17:53 +0200 Message-ID: <022201c6c73c$a9c67a80$c802a8c0@lucy> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 11 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2962 Thread-Index: AcbHPKaPd+Zk0euOSvKW+I25mHlvOQ== Subject: Low Priority Apps X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Aug 2006 05:17:59 -0000 Hi all, I have a FreeBSD 4.x box running an app that uses 30-50% of the processor. Periodically (through cron) we run a perl app that processes log files and inserts the entries to sql. This perl + mysql combination is causing problems for our app and I'd like to run them at a low priority. What nice value should I give them - should I lower the value of just the perl, or both, or make the high priority app's value higher? Thanks Dave