locate.updatedb script

fpineda fpineda at live.com.mx
Tue Feb 2 16:49:52 UTC 2010


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.



More information about the freebsd-database mailing list