{"action":"created","issue":{"url":"https://api.github.com/repos/libfuse/sshfs/issues/3","labels_url":"https://api.github.com/repos/libfuse/sshfs/issues/3/labels{/name}","comments_url":"https://api.github.com/repos/libfuse/sshfs/issues/3/comments","events_url":"https://api.github.com/repos/libfuse/sshfs/issues/3/events","html_url":"https://github.com/libfuse/sshfs/issues/3","id":128387499,"number":3,"title":"Hangs if connection lost after mounting","user":{"login":"Soukyuu","id":2095054,"avatar_url":"https://avatars.githubusercontent.com/u/2095054?v=3","gravatar_id":"","url":"https://api.github.com/users/Soukyuu","html_url":"https://github.com/Soukyuu","followers_url":"https://api.github.com/users/Soukyuu/followers","following_url":"https://api.github.com/users/Soukyuu/following{/other_user}","gists_url":"https://api.github.com/users/Soukyuu/gists{/gist_id}","starred_url":"https://api.github.com/users/Soukyuu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Soukyuu/subscriptions","organizations_url":"https://api.github.com/users/Soukyuu/orgs","repos_url":"https://api.github.com/users/Soukyuu/repos","events_url":"https://api.github.com/users/Soukyuu/events{/privacy}","received_events_url":"https://api.github.com/users/Soukyuu/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-01-24T10:51:00Z","updated_at":"2016-01-25T07:02:09Z","closed_at":null,"body":"I'm running arch x64 with a few sshfs mounts. \r\n- if the server is offline when I start my PC, the mounts are not mounted -> Ok\r\n- if the server is online when I start my PC, the mounts are mounted -> Ok\r\n- if the server goes down while my PC has already mounted the shares, any program that accesses my home folder will freeze for 10-20 seconds per access attempt.\r\n\r\nThe shares are mounted with \r\n\r\n```\r\nmyuser@192.168.178.2:/data/SomeShare           /home/myuser/SomeShare       fuse.sshfs      nofail,x-systemd.automount,idmap=user,_netdev,identityfile=/home/myuser/.ssh/id_rsa,allow_other,default_permissions,uid=1000,gid=1000,umask=0,reconnect,cache=no,kernel_cache,ciphers=arcfour,compression=no\r\n```\r\n\r\nSee [here](https://bbs.archlinux.org/viewtopic.php?pid=1598486) for more info and stuff I've already tried. To me it seems like there is no handling of a connection being dead rather than a mounting issue per se."},"comment":{"url":"https://api.github.com/repos/libfuse/sshfs/issues/comments/174420752","html_url":"https://github.com/libfuse/sshfs/issues/3#issuecomment-174420752","issue_url":"https://api.github.com/repos/libfuse/sshfs/issues/3","id":174420752,"user":{"login":"Soukyuu","id":2095054,"avatar_url":"https://avatars.githubusercontent.com/u/2095054?v=3","gravatar_id":"","url":"https://api.github.com/users/Soukyuu","html_url":"https://github.com/Soukyuu","followers_url":"https://api.github.com/users/Soukyuu/followers","following_url":"https://api.github.com/users/Soukyuu/following{/other_user}","gists_url":"https://api.github.com/users/Soukyuu/gists{/gist_id}","starred_url":"https://api.github.com/users/Soukyuu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Soukyuu/subscriptions","organizations_url":"https://api.github.com/users/Soukyuu/orgs","repos_url":"https://api.github.com/users/Soukyuu/repos","events_url":"https://api.github.com/users/Soukyuu/events{/privacy}","received_events_url":"https://api.github.com/users/Soukyuu/received_events","type":"User","site_admin":false},"created_at":"2016-01-25T07:02:09Z","updated_at":"2016-01-25T07:02:09Z","body":"It unfreezes, then freezes again. The whole pc is basically unusable. I expected it to fail, maybe after a configured timeout,  so that the user could adjust the behavior to the speed of the server connection. \n\n\n\nOn Nikolaus Rath <notifications@github.com>, Jan 24, 2016 9:25 PM wrote:On Jan 24 2016, Ivan Pilipenko <notifications@github.com> wrote:\r\n> - if the server goes down while my PC has already mounted the shares,\r\n> any program that accesses my home folder will freeze for 10-20 seconds\r\n> per access attempt.\r\n\r\nWhat happens after the 10-20 seconds?\r\n\r\nAnd what behavior did you expect to see? I think the only reasonable\r\nbehavior would be to block indefinitely until the server is online\r\nagain, or to make the mountpoint unavailable immediately (so that any\r\nrequest gives \"Transport endpoint not connected\" error.\r\n\r\nBest,\r\nNikolaus\r\n\r\n-- \r\nGPG encrypted emails preferred. Key id: 0xD113FCAC3C4E599F\r\nFingerprint: ED31 791B 2C5C 1613 AF38 8B8A D113 FCAC 3C4E 599F\r\n\r\n             »Time flies like an arrow, fruit flies like a Banana.«\r\n\r\n\r\n—Reply to this email directly or view it on GitHub."}}