[Bug 1909259] [NEW] mlocate stalls out when indexing samba share
Praxis
1909259 at bugs.launchpad.net
Thu Dec 24 23:16:21 UTC 2020
Public bug reported:
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.
** Affects: mlocate (Ubuntu)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to mlocate in Ubuntu.
https://bugs.launchpad.net/bugs/1909259
Title:
mlocate stalls out when indexing samba share
Status in mlocate package in Ubuntu:
New
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.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mlocate/+bug/1909259/+subscriptions
More information about the foundations-bugs
mailing list