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 509609 - Automatically unmount http mounts after some time
Automatically unmount http mounts after some time
Status: RESOLVED OBSOLETE
Product: gvfs
Classification: Core
Component: http backend
unspecified
Other Linux
: Normal normal
: ---
Assigned To: gvfs-maint
gvfs-maint
Depends on:
Blocks:
 
 
Reported: 2008-01-15 11:43 UTC by Alexander Larsson
Modified: 2018-09-21 16:16 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Alexander Larsson 2008-01-15 11:43:35 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.
Comment 1 Ondrej Holy 2016-12-05 13:36:51 UTC
*** Bug 775600 has been marked as a duplicate of this bug. ***
Comment 2 Ondrej Holy 2016-12-05 13:37:28 UTC
It also causes client slowdown, see the Bug 775600.
Comment 3 Cédric Bellegarde 2016-12-05 14:17:10 UTC
Can confirm unmounting http share manually fixed my issue.
Comment 4 Cédric Bellegarde 2016-12-05 21:39:40 UTC
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?"
Comment 5 Cédric Bellegarde 2016-12-09 07:20:51 UTC
>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
Comment 6 Ondrej Holy 2016-12-09 14:04:18 UTC
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...
Comment 7 GNOME Infrastructure Team 2018-09-21 16:16:42 UTC
-- 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.