← Back to team overview

touch-packages team mailing list archive

[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 ?        S    07: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 ?        D    07: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
Touch seeded packages, which is subscribed to findutils in Ubuntu.
https://bugs.launchpad.net/bugs/332790

Title:
  updatedb.mlocate slows applications to unusable state, while running

Status in “findutils” package in Ubuntu:
  Fix Released
Status in “mlocate” package in Ubuntu:
  Fix Released

Bug description:
  Binary package hint: mlocate

  Every time updatedb.mlocate is running its scheduled task, it occupies hard disk and its bandwith
  so user space aplications become slow and unresponsive.

  Every time it runs i am mostly unable to do normal work on my machine an i need to wait
  couple of minutes, doing nothing until that updatedb.mlocate thing is done.

  I think that this is user-unfriendly behavior of updatedb.mlocate and I think that 
  it should run with some kind of lower priority to dissk, not disturbing user experience
  and nor destroying Ubuntu usability for those few minutes.
  I even switched time when that update runs , according to irc channel support,
  and it still bugs me and destroy usability when i use computer at that time.

  Current behavior: updatedb.mlocate occupies whole disk bandwith when it is run on scheduled time,
   not allowing user space applications to run and turn system in unusable state during that run.
  Crucial user-space actions are affected during its run.

  Wated behavior: updatedb.mlocate should run at lower priority at disk usage to avoid
  blocking Ubuntu computer for the time it runs.

  I run Xubuntu Hardy amd64 8.04.2/LTS

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/findutils/+bug/332790/+subscriptions