gvfs timeout (trusty)

Asked by ubuntu-tester

Hello,

I have a problem with gvfs-mount on Ubuntu 14.04 (trusty), I don't know if it's a bug or a 'timeout' parameter to configure (I found nothing about a timeout parameter in gvfs-mount manual).

Summary :
When I mount a Windows share (CIFS) via gvfs-mount, and I don't access to it while about 30 minutes, then when I try to access to it via Nautilus or a terminal (ls command for example), I have to wait about 20 seconds to display the directory contents.

Below, how to reproduce the problem :
1. Mount a Windows share (CIFS) via gvfs-mount command : 'gvfs-mount smb://ubuntu-tester@winsrv/d$'
2. Check the share is mounted in '/run/user/999/gvfs/smb-share:server=winsrv,share=d$,user=ubuntu-tester'
3. Wait about 30 minutes without accessing to this share
4. Access to this share via 'ls' command for example : 'ls /run/user/999/gvfs/smb-share:server=winsrv,share=d$,user=ubuntu-tester/Temp/test' => I have to wait about 20 seconds to display 'ls' output as if the share is umounted after x minutes without accessing to it and gvfs-mount mounts it when I try to access to it.

If I run 'strace ls /run/user/999/gvfs/smb-share:server=winsrv,share=d$,user=ubuntu-tester/Temp/test', I have to wait at 'stat("/run/user/999/gvfs/smb-share:server=winsrv,share=d$,user=ubuntu-tester/Temp/test",' of the line 'stat("/run/user/999/gvfs/smb-share:server=winsrv,share=d$,user=ubuntu-tester/Temp/test", {st_mode=S_IFDIR|0700, st_size=0, ...}) = 0'.

I found this problem on my computer at work (specific configuration) and on my computer at home (standard configuration).

Do you have any idea about this problem ?

Thanks for your help.

Question information

Language:
English Edit question
Status:
Expired
For:
Ubuntu gvfs Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Launchpad Janitor (janitor) said :
#1

This question was expired because it remained in the 'Open' state without activity for the last 15 days.