GNOME Bugzilla – Bug 509609
Automatically unmount http mounts after some time
Last modified: 2018-09-21 16:16:42 UTC
When a http share has not been used for a while we should unmount it to avoid wasting resources. Ideally we should implement this is in a generic way (especially the detecting of when the backend is used) so that other automatically mounted backends can use this if they want.
*** Bug 775600 has been marked as a duplicate of this bug. ***
It also causes client slowdown, see the Bug 775600.
Can confirm unmounting http share manually fixed my issue.
Another thing. "has not been used for a while" may not fix my issue (775600) Maybe the main issue is "Why Gio.VolumeMonitor.get() is slow when many http share are mounted?"
>Can confirm unmounting http share manually fixed my issue. But every client trying to get again this uri through Gio get a cache error message... So I just bypass Gio for http request until this bug is fixed: https://github.com/gnumdk/lollypop/blob/master/src/lio.py
I have a working prototype for autounmounting already, however, I need to finish handling of some corner cases... (In reply to Cédric Bellegarde from comment #4) > Another thing. > > "has not been used for a while" may not fix my issue (775600) Why? Do you mount too many shares in a short time? > Maybe the main issue is "Why Gio.VolumeMonitor.get() is slow when many http > share are mounted?" Hmm, let's reopen Bug 775600 and continue debugging on that place...
-- GitLab Migration Automatic Message -- This bug has been migrated to GNOME's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/gvfs/issues/31.