[Bug 332790] Re: updatedb.mlocate slows applications to unusable state, while running
ps auxw shows me the ionice'd process: root 6466 0.0 0.0 4328 356 ?S07:35 0:00 flock --nonblock /run/mlocate.daily.lock /usr/bin/ionice -c3 /usr/bin/updatedb.mlocate but the problem process, blocking IO is: root 6467 1.0 0.0 5688 2220 ?D07:35 1:25 /usr/bin/updatedb.mlocate It's this that eats nigh on 100% of IO. Is it a subprocess that's spawned and isn't ionice'd? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/332790 Title: updatedb.mlocate slows applications to unusable state, while running To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/findutils/+bug/332790/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 332790] Re: updatedb.mlocate slows applications to unusable state, while running
I filed a new bug report for this for 13.04 https://bugs.launchpad.net/ubuntu/+source/mlocate/+bug/1190696 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/332790 Title: updatedb.mlocate slows applications to unusable state, while running To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/findutils/+bug/332790/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 332790] Re: updatedb.mlocate slows applications to unusable state, while running
This is still an issue in 13.04 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/332790 Title: updatedb.mlocate slows applications to unusable state, while running To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/findutils/+bug/332790/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 332790] Re: updatedb.mlocate slows applications to unusable state, while running
This is still an issue in 12.04 LTS. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/332790 Title: updatedb.mlocate slows applications to unusable state, while running To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/findutils/+bug/332790/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 332790] Re: updatedb.mlocate slows applications to unusable state, while running
Also happening to me in 12.04. This might be the first time I run into this issue. Despite the -c3 argument, I couldn't use my computer for a couple of minutes, resulting in even more sluggishness than a long kswapd0 run. $ sudo sh -x /etc/cron.daily/mlocate + set -e + [ -x /usr/bin/updatedb.mlocate ] + which on_ac_power + ON_BATTERY=0 + on_ac_power + [ 0 -eq 1 ] + LOCKFILE=/var/lib/mlocate/daily.lock + trap rm -f /var/lib/mlocate/daily.lock EXIT + [ -e /var/lib/mlocate/daily.lock ] + touch /var/lib/mlocate/daily.lock + [ -x /usr/bin/ionice ] + /usr/bin/ionice -c3 true + IONICE=/usr/bin/ionice -c3 + /usr/bin/ionice -c3 /usr/bin/updatedb.mlocate + rm -f /var/lib/mlocate/daily.lock $ ls /etc/cron.daily/find ls: cannot access /etc/cron.daily/find: No such file or directory -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/332790 Title: updatedb.mlocate slows applications to unusable state, while running To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/findutils/+bug/332790/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 332790] Re: updatedb.mlocate slows applications to unusable state, while running
This is still an issue in 12.04 LTS. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/332790 Title: updatedb.mlocate slows applications to unusable state, while running To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/findutils/+bug/332790/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 332790] Re: updatedb.mlocate slows applications to unusable state, while running
Confirmed on 10.10 server. System runs on ext4 but there is also a multi-terabyte XFS storage partition which is likely the cause. I have the updatedb in cron.daily, but no find cronjob. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/332790 Title: updatedb.mlocate slows applications to unusable state, while running To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/findutils/+bug/332790/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 332790] Re: updatedb.mlocate slows applications to unusable state, while running
@Michael Vogt: The cron.daily/find script is still present in my system (Maverick now, upgraded over the years), findutils version 4.4.2-1 $ ls /etc/cron.daily/find /etc/cron.daily/find $ dpkg -S /etc/cron.daily/find findutils: /etc/cron.daily/find $ dpkg -s findutils | grep ^Version Version: 4.4.2-1ubuntu1 See also: https://bugs.launchpad.net/ubuntu/+source/mlocate/+bug/197170 Sorry for cross-posting, that bug is unassigned and it's only part of the story of this report. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/332790 Title: updatedb.mlocate slows applications to unusable state, while running -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 332790] Re: updatedb.mlocate slows applications to unusable state, while running
I'm seeing something similar in Maverick as well. Furthermore, when running in a VM (VirtualBox) not only does the VM itself become extremely sluggish, it also pegs one of the CPU cores on the host. To add insult to injury, it does not ignore host filesystems which have been mounted into the VirtualBox guest VM (type vboxsf); in my case, this caused updatedb.mlocate to attempt to index several hundred thousand files across multiple network file servers! Filesystem type vboxsf should probably be added to the list of ignored types in the default version of updatedb.conf... -- updatedb.mlocate slows applications to unusable state, while running https://bugs.launchpad.net/bugs/332790 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 332790] Re: updatedb.mlocate slows applications to unusable state, while running
I am experiencing this bug in the latest Ubuntu Lucid. It doesn't eat that much cpu, but it kicks the i/o up quite a bit. -- updatedb.mlocate slows applications to unusable state, while running https://bugs.launchpad.net/bugs/332790 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 332790] Re: updatedb.mlocate slows applications to unusable state, while running
Only ext4 (root) and ext3 (home) partitions. And also from some time now, the mlocate doesn't eat my cpu anymore. -- updatedb.mlocate slows applications to unusable state, while running https://bugs.launchpad.net/bugs/332790 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 332790] Re: updatedb.mlocate slows applications to unusable state, while running
I also do not have any ntfs/vfat partitions mounted. And from some time now, the mlocate doesn't eat my cpu anymore. -- updatedb.mlocate slows applications to unusable state, while running https://bugs.launchpad.net/bugs/332790 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 332790] Re: updatedb.mlocate slows applications to unusable state, while running
Nop, All my partitions are ext4. But i solved the problem running the process with slowest priority possible, with the nice parameter. I suggest to put the parameter nice -n 19 to all tasks in /etc/anacrontab. Or if you think this solution is not adequate at least put the nice -n 19 in the /etc/cron.daily/mlocate as i said before. Regards ** Attachment added: /etc/anacrontab http://launchpadlibrarian.net/37968082/anacrontab -- updatedb.mlocate slows applications to unusable state, while running https://bugs.launchpad.net/bugs/332790 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 332790] Re: updatedb.mlocate slows applications to unusable state, while running
Bug #362809 mentions high ntfs-3g IO usage. Are the people experiencing sluggishness having ntfs (=Windows) partitions? Does io scheduling work with ntfs-3g and/or vfat? -- updatedb.mlocate slows applications to unusable state, while running https://bugs.launchpad.net/bugs/332790 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 332790] Re: updatedb.mlocate slows applications to unusable state, while running
Hello, My system also come very slow when updatedb.mlocate is running. Try to run it with slowest priority for the process. I added the nice parameter to /etc/cron.daily/mlocate (see it attached). Regards ** Attachment added: /etc/cron.daily/mlocate http://launchpadlibrarian.net/37387269/mlocate -- updatedb.mlocate slows applications to unusable state, while running https://bugs.launchpad.net/bugs/332790 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 332790] Re: updatedb.mlocate slows applications to unusable state, while running
I can confirm that too $ sudo sh -x /etc/cron.daily/mlocate + set -e + [ -x /usr/bin/updatedb.mlocate ] + which on_ac_power + ON_BATTERY=0 + on_ac_power + [ 0 -eq 1 ] + LOCKFILE=/var/lib/mlocate/daily.lock + trap rm -f /var/lib/mlocate/daily.lock EXIT + [ -e /var/lib/mlocate/daily.lock ] + touch /var/lib/mlocate/daily.lock + [ -x /usr/bin/ionice ] + /usr/bin/ionice -c3 true + IONICE=/usr/bin/ionice -c3 + /usr/bin/ionice -c3 /usr/bin/updatedb.mlocate + rm -f /var/lib/mlocate/daily.lock 4GB ram and Intel Core 2Duo T7500 on my Asus G1S. Kubuntu Karmic. Every morning I have to wait while updatedb.mlocate finish its work. -- updatedb.mlocate slows applications to unusable state, while running https://bugs.launchpad.net/bugs/332790 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 332790] Re: updatedb.mlocate slows applications to unusable state, while running
Confirmed on karmic. sudo sh -x /etc/cron.daily/mlocate: + set -e + [ -x /usr/bin/updatedb.mlocate ] + which on_ac_power + ON_BATTERY=0 + on_ac_power + ON_BATTERY=255 + [ 255 -eq 1 ] + LOCKFILE=/var/lib/mlocate/daily.lock + trap rm -f /var/lib/mlocate/daily.lock EXIT + [ -e /var/lib/mlocate/daily.lock ] + touch /var/lib/mlocate/daily.lock + [ -x /usr/bin/ionice ] + /usr/bin/ionice -c3 true + IONICE=/usr/bin/ionice -c3 + /usr/bin/ionice -c3 /usr/bin/updatedb.mlocate + rm -f /var/lib/mlocate/daily.lock -- updatedb.mlocate slows applications to unusable state, while running https://bugs.launchpad.net/bugs/332790 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 332790] Re: updatedb.mlocate slows applications to unusable state, while running
I'm finding updatedb.mlocate is tying up my system for a few minutes shortly after booting up in the morning. There is no /etc/cron.daily/find on my system. I'm using Jaunty, which has been upgraded from Hardy and Intrepid. Output of sudo sh -x /etc/cron.daily/mlocate: ** Attachment added: mlocate.txt http://launchpadlibrarian.net/28917005/mlocate.txt -- updatedb.mlocate slows applications to unusable state, while running https://bugs.launchpad.net/bugs/332790 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 332790] Re: updatedb.mlocate slows applications to unusable state, while running
The findutils problem should be fixed now: findutils (4.4.0-2ubuntu4) jaunty; urgency=low * debian/findutils.preinst: - remove old and obsolete /etc/cron.daily/find on upgrade (LP: #332790) -- Michael Vogt michael.v...@ubuntu.com Tue, 07 Apr 2009 11:04:34 +0200 ** Package changed: mlocate (Ubuntu) = findutils (Ubuntu) ** Also affects: mlocate (Ubuntu) Importance: Undecided Status: New ** Changed in: findutils (Ubuntu) Status: In Progress = Fix Released -- updatedb.mlocate slows applications to unusable state, while running https://bugs.launchpad.net/bugs/332790 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 332790] Re: updatedb.mlocate slows applications to unusable state, while running
I close the mlocate task as well, it should be fixed with the findutils update. But please reopen if the fix is not enough (we may have two different bugs here). ** Changed in: mlocate (Ubuntu) Status: New = Fix Released -- updatedb.mlocate slows applications to unusable state, while running https://bugs.launchpad.net/bugs/332790 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 332790] Re: updatedb.mlocate slows applications to unusable state, while running
** Attachment added: debdiff with proposed fix http://launchpadlibrarian.net/24926831/debdiff -- updatedb.mlocate slows applications to unusable state, while running https://bugs.launchpad.net/bugs/332790 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 332790] Re: updatedb.mlocate slows applications to unusable state, while running
The problem with the /etc/cron.daily/find script should only affect people upgrading from gutsy (or earlier). Its a bit mysterious why its kept, I did a test upgrade from gutsy-hardy and there is: Preparing to replace findutils 4.2.31-1ubuntu2 (using .../findutils_4.2.32-1ubuntu2_amd64.deb) ...^M Removing obsolete conffile /etc/updatedb.conf ...^M Removing obsolete conffile /etc/cron.daily/find ...^M For hardy and later no find cron.daily is installed anymore. -- updatedb.mlocate slows applications to unusable state, while running https://bugs.launchpad.net/bugs/332790 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 332790] Re: updatedb.mlocate slows applications to unusable state, while running
@markor: if your mlocate eats all IO, could you please run: sudo sh -x /etc/cron.daily/mlocate and attach the output? Could you also please check if you have /etc/cron.daily/find ? -- updatedb.mlocate slows applications to unusable state, while running https://bugs.launchpad.net/bugs/332790 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 332790] Re: updatedb.mlocate slows applications to unusable state, while running
If you still have /etc/cron.daily/find on a current (jaunty) system, could you please attach it to this bugreport? -- updatedb.mlocate slows applications to unusable state, while running https://bugs.launchpad.net/bugs/332790 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 332790] Re: updatedb.mlocate slows applications to unusable state, while running
I have a /etc/cron.daily/find; attached. ** Attachment added: /etc/cron.daily/find http://launchpadlibrarian.net/24871570/find -- updatedb.mlocate slows applications to unusable state, while running https://bugs.launchpad.net/bugs/332790 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 332790] Re: updatedb.mlocate slows applications to unusable state, while running
Thanks for the attachment. This is the feisty version of the find cron.daily file. The gutsy one already has ionice in it. -- updatedb.mlocate slows applications to unusable state, while running https://bugs.launchpad.net/bugs/332790 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 332790] Re: updatedb.mlocate slows applications to unusable state, while running
** Changed in: mlocate (Ubuntu) Importance: Undecided = Medium ** Changed in: mlocate (Ubuntu) Status: Confirmed = Triaged ** Changed in: mlocate (Ubuntu) Assignee: (unassigned) = Ubuntu Foundations Team (ubuntu-foundations) -- updatedb.mlocate slows applications to unusable state, while running https://bugs.launchpad.net/bugs/332790 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 332790] Re: updatedb.mlocate slows applications to unusable state, while running
Thanks for your bugreport. This is somewhat sup suprising, this problem should be fixed in jaunty. It checks for ionice and if that is availalbe does use it. What does: sudo sh -x /etc/cron.daily/mlocate print for you? Upon further inspection it seem like the problem is the find script in /etc/cron.daily that does not use ionice ** Changed in: mlocate (Ubuntu) Status: Triaged = In Progress ** Changed in: mlocate (Ubuntu) Assignee: Ubuntu Foundations Team (ubuntu-foundations) = Michael Vogt (mvo) -- updatedb.mlocate slows applications to unusable state, while running https://bugs.launchpad.net/bugs/332790 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 332790] Re: updatedb.mlocate slows applications to unusable state, while running
This is still a problem on jaunty; it'd be lovely if we could 'ionice -c 3' the updatedb process. ** Changed in: mlocate (Ubuntu) Status: New = Confirmed -- updatedb.mlocate slows applications to unusable state, while running https://bugs.launchpad.net/bugs/332790 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs