SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
should updatedb ever run on its own without the user invoking it? i ask because i just heard my HD working and did top in a terminal, and updatedb was running, and i didnt start it.
It's run out of /etc/cron.daily and in Slackware it's set to go at 4:30 AM. You can just reset the permissions to 644 on the /etc/cron.daily/slocate file if you don't want it to run. That's what I did; because one night I was working away when my processor spiked to 100% and I couldn't figure out why - It was updatedb.
it gave me a bit of a start when i ran top and saw updatedb being run! i thought it was hackers lol.
i ran
Code:
crontab -l | grep cron.daily
and it gave me '40 4 * * *' etc etc. i vaguely rememeber cron from the general overview i got when i first started with linux, i havent had an occasion to use cron up to now (at least not to my knowledge).
Same thing here, except I had been getting my Samba server beat on by a bunch of Russian hackers earlier that week and I just about lost it! I couldn't believe they had found a way in. Fortunately, they didn't.
Last edited by Hendronicus; 03-15-2008 at 12:25 AM.
Reason: spelling
It's run out of /etc/cron.daily and in Slackware it's set to go at 4:30 AM. You can just reset the permissions to 644 on the /etc/cron.daily/slocate file if you don't want it to run. That's what I did; because one night I was working away when my processor spiked to 100% and I couldn't figure out why - It was updatedb.
You could always just change the cron job so that updatedb is run with a different nice level.
On a fresh install, it can take a while for it to run the first time. It is a good idea to just let a freshly installed workstation run at least 24 hours so it finishes indexing the filenames. The same is true for Beagle search.
While we are on the topic of time, if you use beagle search, take a gander at the attributes of searched files & directories:
Regarding the cron.daily slocate updatedb hogging the CPU.
I have read the minimal man file and was wondering if the following syntax would be the correct addition to make it run with a very low priority?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.