TECHIES WORLD

For Techs.... Techniques.... Technologies....

CpanelLinux

Locate database consuming more disk space

As we already knows "locate" command is used for finding out files in Linux. This command have database in the location "/var/lib/mlocate/mlocate.db" which containing the details of files in the server.

Sometimes this database may grows to very large which lead to consume the more part of hard disk.

In such situations, we can remove this database file without any issues.

#rm /var/lib/mlocate/mlocate.db

This will be recreated on running the command "updatedb".

#updatedb

That's all…

Leave a Reply