mlocate stalls out when indexing samba share
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
mlocate (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
I purged and reinstalled mlocate, then I edited /etc/updatedb.conf to remove cifs from PRUNEFS so mlocate would index files on my local server. Then I ran updatedb and it almost completely stalled out after a minute or three regardless of priority (I tried 'nice -n -20). It starts out only using 2-3% of my reasonably fast 4 core CPU. After a couple of minutes the process just goes to sleep. ksysguard reports CPU use as 'disk sleep'
The database is growing at a glacial pace.
48762880 Dec 24 14:35 mlocate.db.2if3oZ
49315840 Dec 24 14:51 mlocate.db.2if3oZ
If I put cifs back in /etc/updatedb.conf PRUNEFS the program behaves reasonably.
Since most of the files that I want to find are on my server this dramatically reduces the utility of mlocate for me.
It would also be great to be able to add a specific path to updatedb.conf so mlocate would index my always-on CIFS server that is in my /etc/fstab but not index other samba shares that happen to be mounted at the moment, but I guess that is a different boog rep0rt.