After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 744627 - Search provider starts a lot of miners
Search provider starts a lot of miners
Status: RESOLVED FIXED
Product: gnome-photos
Classification: Applications
Component: general
unspecified
Other All
: Normal normal
: ---
Assigned To: GNOME photos maintainer(s)
GNOME photos maintainer(s)
Depends on:
Blocks:
 
 
Reported: 2015-02-16 21:10 UTC by Allison Karlitskaya (desrt)
Modified: 2015-10-27 09:22 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
application: Do not auto start the miners while creating proxies (1.28 KB, patch)
2015-02-18 02:12 UTC, Debarshi Ray
none Details | Review
application: Create the miner proxies asynchronously & only when needed (12.87 KB, patch)
2015-10-22 17:14 UTC, Debarshi Ray
committed Details | Review
application: Set priority rdf:types only when a window is created (10.79 KB, patch)
2015-10-22 17:14 UTC, Debarshi Ray
committed Details | Review

Description Allison Karlitskaya (desrt) 2015-02-16 21:10:41 UTC
Doing a search in gnome-shell with the gnome-photos search provider enabled results in an unreasonably large number of processes being created, including the gnome-online-miners for gdata, flickr, facebook and media-server.  For good measure, it also appears to spawn the dleyna media server, which starts globally listening on some UDP ports for a while.

This is particularly surprising because I don't have accounts configured for any of these things.

I verified that gnome-photos was to blame by disabling all search providers
and doing a search (no miners created) and then doing a search with only
gnome-photos enabled (lots of miners created).

gnome-documents has a similar bug (bug 744625).
Comment 1 Debarshi Ray 2015-02-18 02:12:16 UTC
Created attachment 297073 [details] [review]
application: Do not auto start the miners while creating proxies
Comment 2 Debarshi Ray 2015-10-22 17:14:14 UTC
Created attachment 313881 [details] [review]
application: Create the miner proxies asynchronously & only when needed
Comment 3 Debarshi Ray 2015-10-22 17:14:37 UTC
Created attachment 313882 [details] [review]
application: Set priority rdf:types only when a window is created