From owner-freebsd-questions@FreeBSD.ORG Wed Jun 3 09:36:13 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 353981065670 for ; Wed, 3 Jun 2009 09:36:13 +0000 (UTC) (envelope-from mel.flynn+fbsd.questions@mailing.thruhere.net) Received: from mailhub.rachie.is-a-geek.net (rachie.is-a-geek.net [66.230.99.27]) by mx1.freebsd.org (Postfix) with ESMTP id 05F9A8FC1E for ; Wed, 3 Jun 2009 09:36:12 +0000 (UTC) (envelope-from mel.flynn+fbsd.questions@mailing.thruhere.net) Received: from sarevok.dnr.servegame.org (mailhub.rachie.is-a-geek.net [192.168.2.11]) by mailhub.rachie.is-a-geek.net (Postfix) with ESMTP id ADD317E837; Wed, 3 Jun 2009 01:36:11 -0800 (AKDT) From: Mel Flynn To: freebsd-questions@freebsd.org Date: Wed, 3 Jun 2009 11:36:09 +0200 User-Agent: KMail/1.11.3 (FreeBSD/8.0-CURRENT; KDE/4.2.3; i386; ; ) References: <4A25B029.1030608@ibctech.ca> In-Reply-To: <4A25B029.1030608@ibctech.ca> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-6" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200906031136.10054.mel.flynn+fbsd.questions@mailing.thruhere.net> Cc: Steve Bertrand Subject: Re: Set task priority 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: Wed, 03 Jun 2009 09:36:13 -0000 On Wednesday 03 June 2009 01:05:13 Steve Bertrand wrote: > What is the best way to set priority on my task in order to ensure it > completes as quickly as possible, but does not cause a situation where > other programs and their children can't respond? You may want to consider the fact that priority has nothing to do with the outage symptom. If your other services use MySQL, they will time out because mysqldump will exclusively lock the tables your services are trying to query and/or update. The best way to do this if you need the feature more then once is to setup a slave replicator that isn't queried by the services at all and then you do your dumps on that machine. Replication will catch up after the dump. If you have enough hard disk space, can even do this on your laptop. -- Mel