[Bug 1190696] Re: updatedb.mlocate uses 100% of the hdd IO. The OS is completely unusable.
Nicolas Jonas
nicolasjonas at web.de
Sun Jan 4 19:19:03 UTC 2015
I have this problem too and I have a question about Necs comment with
reads:
"
Hi,
I found out that playing with ionice nor nice did not improve anything
in that case. (that also was VERY severe to me)
The issue came from the fact that my computer mounts some remote
filesystems, and find and locate went exploring those distant folders.
I solved the problem by changing /etc/cron.daily/locate and adding the
"xdev" options to the find parameters.
# Global options for invocations of find(1)
FINDOPTIONS='-ignore_readdir_race -xdev'
Now, updates are still relevent, but cause no CPU harm nor wasted time :)
"
First I dont have a /etc/cron.daily/locate on 14.10 and I have only a
/mlocate and there is no find command in there so I guess I can't cry to
fix it this way? Or should I just and the FINDOPTIONS line in there?
I guess I will completely disable the cronjob for now.
--
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/1190696
Title:
updatedb.mlocate uses 100% of the hdd IO. The OS is completely
unusable.
Status in mlocate package in Ubuntu:
Confirmed
Bug description:
updatedb.mlocate uses 100% of the hdd IO. The OS is completely
unusable. This can go on for an hour. I have been fighting with this
on 3 separate computers for at least a month.
A very old related bug:
https://bugs.launchpad.net/ubuntu/+source/findutils/+bug/332790
That bug was marked as fix released for Hardy.
ProblemType: Bug
DistroRelease: Ubuntu 13.04
Package: mlocate 0.25-0ubuntu2
ProcVersionSignature: Ubuntu 3.8.0-23.34-generic 3.8.11
Uname: Linux 3.8.0-23-generic x86_64
ApportVersion: 2.9.2-0ubuntu8.1
Architecture: amd64
Date: Thu Jun 13 08:11:38 2013
InstallationDate: Installed on 2013-05-09 (34 days ago)
InstallationMedia: Ubuntu-GNOME 13.04 "Raring Ringtail" - Release amd64 (20130424)
MarkForUpload: True
ProcEnviron:
TERM=screen
PATH=(custom, no user)
XDG_RUNTIME_DIR=<set>
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: mlocate
UpgradeStatus: No upgrade log present (probably fresh install)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mlocate/+bug/1190696/+subscriptions
More information about the foundations-bugs
mailing list