unity-fallback-mount is perming inotify_watch_add every 4 seconds on the same files
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
unity-settings-daemon (Ubuntu) |
New
|
Low
|
Unassigned |
Bug Description
unity-fallback-
PID Process Rate/Sec File
30142 unity-fallback-
30142 unity-fallback-
This is most probably wasted and unnecessary polling that is keeping the machine from keeping in deep sleep states (e.g. keeping it out of idle). Are these absolutely necessary?
ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: unity-settings-
ProcVersionSign
Uname: Linux 3.13.0-21-generic x86_64
ApportVersion: 2.14-0ubuntu1
Architecture: amd64
CurrentDesktop: Unity
Date: Thu Apr 3 18:49:31 2014
EcryptfsInUse: Yes
InstallationDate: Installed on 2014-03-25 (9 days ago)
InstallationMedia: Ubuntu 14.04 LTS "Trusty Tahr" - Alpha amd64 (20140323)
SourcePackage: unity-settings-
UpgradeStatus: No upgrade log present (probably fresh install)
upstart.
Thank you for your bug report, I can't confirm that from stracing the binary here. Does it happen after login for you?
The directories listed suggest that something is putting a monitor on the XDG_DATA_DIRS directories, it's likely some gio API watching for new .desktop/ applications to be installed.
Note that all those "things poll every 4 seconds on the same paths" issues are because inotify limitations, the kernel doesn't allow monitoring a non existant directory (e.g to get an event if the directory gets created and only start monitoring the content then). If we really want to stop having such problems we should look at fixing/improving the kernel