Comment 8 for bug 137514

Revision history for this message
Bogdan Butnaru (bogdanb) wrote : Re: [Bug 137514] Re: sshfs locks up randomly
  • unnamed Edit (2.8 KiB, text/html; charset=WINDOWS-1252)

As I've mentioned before, I noticed crashes often (though inconsistently)
when the mounts are used intensely, like copying movie files or lots of
directories, and when telling Amarok to scan the (100GB+) music collection.
There are crashes in other cases, but I didn't notice a pattern for those.

However, the crashes in the reproducible case go away if I mount manually
with "sshfs -f -s -o sshfs_sync -o no_readahead -o cache=no". It might be
useful as a workaround (I think most of those options can be given in
fstab). Someone with some time for debugging might try combinations of some
options to find out which one actually causes the crashes to go away, that
should point out the source.

On Tue, Apr 1, 2008 at 8:18 PM, joehill <email address hidden> wrote:

> I can confirm this. I've been using sshfs since around Breezy and am
> how using Gutsy and Hardy, and in every version I've had this problem,
> although I have the impression it's become more consistent since Gutsy.
> Here are some observations I've made:
>
> 1. sshfs locks up consistently (no exceptions) whenever left idle for over
> maybe 20 or 30 minutes, regardless of what host I'm connected to and what
> kind of network connection I use (wireless, t1, cable).
> 2. Any program (terminal, nautilus, media player, etc.) that tries to
> access an sshfs file/directory locks up (sometimes uninterruptibly).
> 3. The only way to unlock these programs is to kill the ssh process (ssh
> -x -a -oClearAllForwardings=yes -2 remotehost.org -s sftp). I used to
> lazy unmount ("fusermount -uz mountpoint"), which frees up the mount point
> but leaves the ssh and other processes hanging.
>
> I'll have to try to see if it still happens without network-manager--it
> may be that I started having this problem when I started using NM.
>
> I think this is a major problem that makes sshfs practically unusable
> for anyone who doesn't like to constantly kill and restart processes
> through the command line.
>
> --
> sshfs locks up randomly
> https://bugs.launchpad.net/bugs/137514
> You received this bug notification because you are a direct subscriber
> of the bug.
>

--
Bogdan Butnaru — <email address hidden>
"I think I am a fallen star, I should wish on myself." – O.