Is updatedb
necessary at all? I never use locate
and my servers tend to have dozens of millions of files which usually makes updatedb to run for a long time and consume I/O needed by MySQL and/or other software.
Can I just remove it from cron and expect everything to work? (by everything I mean usual software found on server: linux, cpanel, mysql, apache, php etc.).
Best Answer
Yes you can disable it in the crons or remove the package that provides
updatedb
. On a Red Hat system you'd go about the steps in determining if anything requires it prior to removal.First find out where the program is located on disk.
Next find out what package provides
updatedb
.See if anything requires
mlocate
.Nothing requires it so you can remove the package.