Announcement

Collapse
No announcement yet.

updatedb.mlocate locking up computer after boot

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    updatedb.mlocate locking up computer after boot

    I usually start each day with a reboot. A very few minutes after the OS is running updatedb.mlocate launches itself and grabs virtually all the CPU cycles. I cannot seem to get control of this, and I don't know how to get it to stop being so greedy. This sort of machine-takeover was one of many reasons why I abandoned Microsoft years ago.

    I assume it's checking for updates. I've tried to get control of the process by fiddling with Software & Updates. Here's my settings:

    Click image for larger version

Name:	software-updates.jpg
Views:	1
Size:	95.8 KB
ID:	648757

    I'm getting nowhere with this problem. It literally takes a number of minutes before I can resume doing whatever I was doing before my box was stolen by this pesky program. Really irritating, and it's been going on since the last ice age.

    Help!

    #2
    updatedb.mlocate has nothing to do with Software & Updates.

    it's a search database used by the "locate" program
    you should let it run once all the way through though I don’t know why it is being so heavy on your CPU ...........you can start it yourself with
    Code:
    sudo updatedb
    it's cron job is in /etc/cron.daily
    Code:
    vinny@vinnys-HP-G62:/etc/cron.daily$ ls
    0anacron  apt       bsdmainutils      dpkg           google-talkplugin  logrotate  mlocate  popularity-contest  update-notifier-common               
    apport    aptitude  cracklib-runtime  google-chrome  libvirt-bin        man-db     passwd   samba               upstart
    the one named "mlocate" ,,you can change(turn off) the exicutable bit if you do not want it to run .

    however it is a useful tool to find a file by name

    exampel:,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,

    Code:
    vinny@vinnys-HP-G62:~$ locate DORNC
    /home/vinny/DORNC-PH#
    /home/vinny/DORNC-recete.pdf
    O thats right,,,,,,it wasn’t IN Documents ............

    VINNY
    i7 4core HT 8MB L3 2.9GHz
    16GB RAM
    Nvidia GTX 860M 4GB RAM 1152 cuda cores

    Comment


      #3
      What vinny says. "locate" is too powerful a tool to remove or disable. Once its "sudo updatedb" is down rebuilding its index database it is lightening fast, and rarely eats too much cpu when the cron task takes off. At least on my system, and I'm running an i7 cpu with 6GB of RAM.
      "A nation that is afraid to let its people judge the truth and falsehood in an open market is a nation that is afraid of its people.”
      – John F. Kennedy, February 26, 1962.

      Comment

      Working...
      X