Red Hat Bugzilla – Bug 2682
locate won't work with amd running
Last modified: 2008-05-01 11:37:50 EDT
When running amd on RH Linux 6.0, command updatedb will
never finish, and so datebase is not updated. Could be also
caused by netfs and/or autofs.
*** Bug 2717 has been marked as a duplicate of this bug. ***
When using updatedb to create the locate database, it locks
up on empty directories. At first it seemed to be taking an
extremely long time, but when running it with -v, it became
obvious the it was getting locked up on certain directories.
When a file was placed in the directory, it would continue
without any problems
*** Bug 2728 has been marked as a duplicate of this bug. ***
Don't know if this is a bug, but locate acts strange now and
I notice that updatedb keeps on running (forever?)
"ps aux" shows:
Should there be something excluded in slocate? Or is this
------- Additional Comments From email@example.com 05/11/99 10:35 -------
that's update (bdflush), which is the kernel's cache
flushing-daemon. It doesn't have anything to do with
------- Additional Comments From firstname.lastname@example.org 05/12/99 03:10 -------
OOPS!! Very sorry!
But the reason I got confused was: running "updatedb" (and not
slocate, sorry) hangs. (and I thought it was launched at startup, and
confused it with update)
Should I exclude something from updatedb?
------- Additional Comments From email@example.com 05/13/99 11:04 -------
If you do 'strace -o output updatedb', and then look at
the output file when it hangs, where is it hanging?
I've replace updatedb in slocate-1.6-1 to more perfectly imitate
the behavior of the findutils updatedb. This means that certain
directories and NFS or smb mount points will not be searched while
building the slocate database.
*** Bug 3410 has been marked as a duplicate of this bug. ***
slocate doesn't complete it's daily run. After about a day,
it is still running, gobbling up the complete CPU, and
pushing up the load. Dunno what's causing it, ps aul shows
it's not doing anything in the kernel.
Can't seem to find slocate in the list of components, so
thought I might try this approuch instead... :)