desktop-packages team mailing list archive
-
desktop-packages team
-
Mailing list archive
-
Message #119988
Re: [Bug 517021] Re: gvfsd-metadata causes 100% CPU usage
Launchpad Bug Tracker wrote on 06.05.2015 20:01:
> ** Changed in: gvfs (Ubuntu Precise)
> Status: Fix Committed => Fix Released
Fix tested and confirmed in Ubuntu 12.04 Precise.
Before, I reproducibly ran into this bug when saving a data: URL from a
Firefox-based webapp to a local file using the normal Firefox download
dialog.
I installed the Precise update from the normal Precise update package
repositories.
I save now, and I do not see the 100% CPU usage anymore. Bug fixed.
Thanks a lot to Ross Lagerwall,Tomas Bzate, Alexander Larsson, Ondrej
Holy (all GNOME <https://bugzilla.gnome.org/show_bug.cgi?id=637095>),
Monsta, Marc Deslauriers (here) and everybody else involved!
--
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to gvfs in Ubuntu.
https://bugs.launchpad.net/bugs/517021
Title:
gvfsd-metadata causes 100% CPU usage
Status in GVFS:
Unknown
Status in gvfs package in Ubuntu:
Fix Released
Status in gvfs source package in Precise:
Fix Released
Status in gvfs source package in Trusty:
Fix Committed
Status in gvfs source package in Utopic:
Fix Committed
Status in gvfs source package in Vivid:
Fix Released
Status in gvfs package in Debian:
Fix Released
Bug description:
Binary package hint: gvfs
Failure to write metadata results in an infinite loop that keeps
trying to write, thousands of times per second.
Steps to reproduce:
1. Open Firefox
2. Save a data: URL (URL that contains the content, with several thousands bytes, often generated by webapps or extensions) as file
(There are other ways to run into this problem, e.g. disk full or
other error situations. data: URLs are just the easiest way to
reproduce.)
Actual result:
- File is saved
- 100% CPU
- Extremely high number of file operations by gvfs - billions
- Never stops
Expected result:
Failure to write metadata should just fail, not try again
Fix:
Patch available and accepted by GNOME
https://bugzilla.gnome.org/show_bug.cgi?id=637095
--- Original description ---
After installing 9.10 Ubuntu 64bit browsing and opening folder in nautilus or Gnome-commander take several minutes when there are many files in it e.g. 10.000. Interestingly Midnight-commander does not have this problem. Opening such folders does not hang with MC.
Using "top" i can see that "gvfsd-metadata" is using 100% CPU and when i kill it the computer stops "hanging". I am using the 32bit version of Karmic too and there is no such Problem (although tested on a different computer).
Please fix this because it is highly annyoing. Right now i am killing
it every 20s with the watch command to be able to work at all.
To manage notifications about this bug go to:
https://bugs.launchpad.net/gvfs/+bug/517021/+subscriptions
References