View the Most Wanted LQ Wiki articles.
Go Back > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Slackware This Forum is for the discussion of Slackware Linux.


Search this Thread
Old 07-11-2009, 06:55 PM   #1
Andy Alkaline
Registered: Jun 2004
Location: Minnesota, USA
Distribution: Slackware32-stable, Debian-wheezy-amd64, LFS 7.1
Posts: 355

Rep: Reputation: 33
slocate suggestion, using ionice to change priority

I've modified my cron slocate (updatedb) script

ionice -c3 nice -n 19 /usr/bin/updatedb -c /etc/updatedb.conf

Because of the heavy drive activity, ionice works much better than nice in this situation.

Using 'nice' here doesn't do nearly as much for me as 'ionice' when using updatedb.
Old 07-11-2009, 07:17 PM   #2
LQ Veteran
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 12,556

Rep: Reputation: 1085Reputation: 1085Reputation: 1085Reputation: 1085Reputation: 1085Reputation: 1085Reputation: 1085Reputation: 1085
I'm not a Slackuser, but I'm surprised Pat hasn't included mlocate - much kinder on the entire filesystem.
Old 07-18-2009, 04:33 AM   #3
Bruce Hill
HCL Maintainer
Registered: Jun 2003
Location: Tupelo, MS
Distribution: Gentoo
Posts: 6,926

Rep: Reputation: 124Reputation: 124
Seems that Pat agreed with you:
Fri Jul 17 21:05:16 CDT 2009
a/slocate-3.1-x86_64-3.txz:  Rebuilt.  Changed the daily updatedb cron job
  to use "ionice -c3 nice -n 19".  Thanks to Andy Alt.
Thanks, Andy ... good suggestion.
Old 07-18-2009, 09:55 AM   #4
Senior Member
Registered: Mar 2007
Location: Rio de Janeiro - Brazil
Distribution: Slackware64-current
Posts: 1,004

Rep: Reputation: 89
Thanks Andy!

I sometimes am still working in the middle of the night when udatedb kicks in and it has bothered and worried me.
Old 07-19-2009, 12:42 AM   #5
Andy Alkaline
Registered: Jun 2004
Location: Minnesota, USA
Distribution: Slackware32-stable, Debian-wheezy-amd64, LFS 7.1
Posts: 355

Original Poster
Rep: Reputation: 33
Wow. I've never been immortalized in a ChangeLog before, unless it was one I wrote myself.

But I'm glad to have been able to contribute.


priority, updatedb

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Proposed change to slocate package cor67393 Slackware 3 07-01-2009 02:53 AM
how to create automatically the /var/lib/slocate/slocate.db irhernan Linux - Newbie 3 09-12-2006 03:29 PM
Change process priority Azriel_2501 Linux - General 4 01-18-2006 08:00 PM
updatedb and slocate runs at 5am, how can I change this? Archeantus Linux - Software 4 02-12-2005 06:06 PM
How do I change a process's priority? TheOneAndOnlySM Linux - General 2 03-12-2004 11:17 PM

All times are GMT -5. The time now is 02:20 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration