LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 01-16-2018, 01:51 AM   #1
stf92
Senior Member
 
Registered: Apr 2007
Location: Buenos Aires.
Distribution: Slackware
Posts: 4,442

Rep: Reputation: 76
Who starts slocate?


Hi: I've just reinstalled Slackware 12.1 and have just noticed slocate is running. I used to disable it and run updatedb whenever I consider it convimient. But I think to remember there was a cron file in charge of running it. Now my whole disk is being searched and I do not know how to stop it (I don't won't to use kill). Could you tell what is the script run at boot time responsible for this behavior (in case it is a script).

EDIT: but what may make slocate to spontaneously run? If it were updatedb I would understand it.

Last edited by stf92; 01-16-2018 at 01:55 AM.
 
Old 01-16-2018, 02:10 AM   #2
rworkman
Slackware Contributor
 
Registered: Oct 2004
Location: Tuscaloosa, Alabama (USA)
Distribution: Slackware
Posts: 2,559

Rep: Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351
It's /etc/cron.daily/slocate

For what it's worth, slocate was replaced by mlocate in the -current tree, and it's much less resource-intensive than slocate. You might consider building it yourself on that machine and replacing slocate. Note that you should *not* install the package from the -current tree; you need to build it on a 14.2 system. Here's the build script and associated files: https://mirrors.slackware.com/slackw...rce/a/mlocate/

EDIT: to answer your own 'EDIT' part, I don't know how that could happen - for "locate" itself to be running, some user must have run it, as far as I'm aware.

Last edited by rworkman; 01-16-2018 at 02:12 AM. Reason: Re slocate running....
 
1 members found this post helpful.
Old 01-16-2018, 02:30 AM   #3
stf92
Senior Member
 
Registered: Apr 2007
Location: Buenos Aires.
Distribution: Slackware
Posts: 4,442

Original Poster
Rep: Reputation: 76
Alright, and thanks. As I ran the locate command to locate slocate, maybe ps found the instance I was running. On the other hand I ran grep on /etc and couldn't find an instance of the string slocate. Perhaps ... Oh! Of course: the string in /etc/cron.daily is "updatedb", and not slocate. That's why grep deceived me.

Having been lucky to obtain a precise answer, I'd like you to tell me (I'm still running 14.1) if there is much difference with 14.2. As regards general resources and specially in disk space. If it is not to abuse.

EDIT: first thing I had done when I saw the disk activity was to look into /etc/rc.d. Of course I couldn't find anything. Those files have /etc directly as there parent.

Last edited by stf92; 01-16-2018 at 02:39 AM.
 
Old 01-16-2018, 03:51 AM   #4
rworkman
Slackware Contributor
 
Registered: Oct 2004
Location: Tuscaloosa, Alabama (USA)
Distribution: Slackware
Posts: 2,559

Rep: Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351
14.2 is pretty incremental from 14.1, but that's a matter of perspective, I suppose, and my perspective is certainly not shared among the entire userbase.
This is about the best summary I can give you: https://mirrors.slackware.com/slackw..._AND_HINTS.TXT
 
  


Reply



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
Mandriva 2009 starts installation and then monitor starts rolling showing color lines HubertHickey Linux - Newbie 6 12-18-2008 12:24 AM
how to create automatically the /var/lib/slocate/slocate.db irhernan Linux - Newbie 3 09-12-2006 02:29 PM
Two Fluxbox Versions - Root starts newest,User starts oldest fortezza Linux - Software 1 05-21-2006 01:17 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 02:29 PM.

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