Web Hosting Talk







View Full Version : Updatedb, slocate ? What are these?


wmac
12-21-2002, 05:44 AM
Hello

What are the exact purposes of running updatedb and slocate?

They are creating high loads on one of my servers.

Is it safe to disable this cron job?

Regards,
Mac

Mdot
12-21-2002, 06:16 AM
yes, you can disable running these jobs. slocate/updatedb is used to updated database of all folders/files on your server and then use db for searching files/folders.

Miha.

priyadi
12-21-2002, 06:58 AM
Originally posted by wmac
Hello

What are the exact purposes of running updatedb and slocate?

They are creating high loads on one of my servers.

Is it safe to disable this cron job?

Regards,
Mac

It is safe to disable it, but it is a very useful utility. updatedb's job is to index every filename on the system to a file. locate will use this file to find files matching its parameters, without updatedb it won't be able to locate files so quickly :).