Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

locate.updatedb script

2 views
Skip to first unread message

fpineda

unread,
Feb 2, 2010, 11:32:31 AM2/2/10
to freebsd-...@freebsd.org

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.

0 new messages