From owner-freebsd-database@FreeBSD.ORG Tue Feb 2 16:49:52 2010 Return-Path: Delivered-To: freebsd-database@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8F9881065672 for ; Tue, 2 Feb 2010 16:49:52 +0000 (UTC) (envelope-from bounces@nabble.com) Received: from kuber.nabble.com (kuber.nabble.com [216.139.236.158]) by mx1.freebsd.org (Postfix) with ESMTP id 7353E8FC18 for ; Tue, 2 Feb 2010 16:49:52 +0000 (UTC) Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1NcLfz-0000YG-HD for freebsd-database@freebsd.org; Tue, 02 Feb 2010 08:32:31 -0800 Message-ID: <27423298.post@talk.nabble.com> Date: Tue, 2 Feb 2010 08:32:31 -0800 (PST) From: fpineda To: freebsd-database@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: fpineda@live.com.mx Subject: locate.updatedb script X-BeenThere: freebsd-database@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Database use and development under FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 02 Feb 2010 16:49:52 -0000 Hi everybody! I have some problems with locate.updatedb script execution. You know this script is execute weekly bye 310.locate script in the periodic weekly maintanance, but every time the periodic weekly is executed the command "find" (in the locate.updatedb) use all procesors resources and it cause others proccess comes fail, like my heartbeat with "losts packets" and "late heartbeat" errors. In the /usr/libexec/locate.updatedb script /I'd change the line: : ${find:=find} by : ${find:='/usr/bin/nice -n 19 find'} This was to change the priority for the command find, however the "find command" still take all procesors resources. Any suggestions? Thanks in advance! -- View this message in context: http://old.nabble.com/locate.updatedb-script-tp27423298p27423298.html Sent from the freebsd-database mailing list archive at Nabble.com.