I have been noticing on my little SparcClassic that the daily slocate processes are never exiting. I have not been able to figure out why yet. If I leave my machine running for a long time, I end up with may of these slocate processes in a R state. Slocate is not listed in the component list.
what does 'strace <pid of slocate>' say?
Um, that's 'strace -p <pid>', of course. ------- Email Received From ted 06/18/99 14:57 ------- ------- Email Received From ted 06/18/99 15:05 ------- ------- Email Received From ted 06/18/99 15:11 -------
OK, more specifics. slocate goes into a loop is you have cdimages mounted on a loopback device mounted somewhere in the path. I had 3 cdimages mounted as /mnt/virtcd0, /mnt/virtcd1, and /mnt/virtcd2 they contained respectively RedHat6.0 for Intel, Redhat 6.0 for Sparc, and Redhat 6.0 SRPMS. All cd images were created by me from the freely available files. If anyone wants to simulate this problem, I could upload the cd images. My work-around was to change the /etc/cron.daily/slocate.cron file to add the /mnt to the excluded directories. Ted Serreyn
Hm. I mount an iso image here on a sparc, and it still seems to work OK. I suppose I could try it on an older sparc and see what that does... ------- Email Received From ted 06/21/99 10:25 -------
We still haven't been able to reproduce this. Try upgrading to the latest slocate ; if it still fails, reopen this bug.