Ubuntu unusable when sshfs network drive not responsive

Asked by Bastian on 2021-02-17

I have a network resource that I like to mount usings sshfs like so:

sshfs <email address hidden>:/ ~/theserver -o idmap=user -o exec -o uid=$(id -u $(logname)) -o gid=$(id -g $(logname)) -o kernel_cache -o auto_cache -o compression=no -o cache_timeout=600 -o reconnect,ServerAliveInterval=15,ServerAliveCountMax=3

The server is frequently not responsive for a few minutes up to half an hour which would not bother me much if it wouldn't cause my entire system to be hardly usable when that happens.

It is more precisely nautilus that freezes entirely and all applications that need data read from or written to my local file system.
Even opening a text file with gedit does not work.

Is there something I can do to keep nautilus function regardless of the state of the mounted sshfs? To be honest, I'm not at all convinced my mount parameters are optimally chosen, but they were recommended to me a while back by system administrators who I trusted.

This happens/happened on every single one of these distros: Ubuntu 20.04, Ubuntu 18.04, Ubuntu 16.04.

I stated my question here,
 but noone seems to have a remedy so I'm inclined to see this issue as a bug.

Question information

English Edit question
Ubuntu Edit question
No assignee Edit question
Last query:
Last reply:

Can you help with this problem?

Provide an answer of your own, or ask Bastian for more information if necessary.

To post a message you must log in.