Date: Tue, 2 Feb 2010 08:32:31 -0800 (PST) From: fpineda <fpineda@live.com.mx> To: freebsd-database@freebsd.org Subject: locate.updatedb script Message-ID: <27423298.post@talk.nabble.com>
next in thread | raw e-mail | index | archive | help
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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?27423298.post>