The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

/usr/bin/updatedb issues

Discussion in 'General Discussion' started by xuser, Jan 22, 2010.

  1. xuser

    xuser Member

    Joined:
    Jun 21, 2007
    Messages:
    17
    Likes Received:
    0
    Trophy Points:
    1
    Could anybody tell me what is /usr/bin/updatedb and what does it do? It seems to be causing very high IO when it is running?

    Can it be disabled, if yes, how can it be done?

    Thanks for your time and help :)
     
  2. madaboutlinux

    madaboutlinux Well-Known Member

    Joined:
    Jan 24, 2005
    Messages:
    1,052
    Likes Received:
    2
    Trophy Points:
    38
    Location:
    Earth
    updatedb updates the file name database used by the 'locate' command to locate a file on the server. This database contains file names along with it's directory tree and need to keep it updated if you want to find any latest files on the server using locate command.
     
  3. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    14,446
    Likes Received:
    195
    Trophy Points:
    63
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
    How long has it been running? The easiest way to kill it would be to login to WHM, click the Load Averages link, top right corner of WHM. Find on the list, updatedb and click the PID to the left of it.

    Next page, click Kill Process.

    You might want to run the command again from shell as root: updatedb

    Running updatedb should take only a short while, a few minutes at most depending on the environment.

    /http://linux.about.com/library/cmd/blcmdl1_updatedb.htm
     
Loading...

Share This Page