[tahoe-lafs-trac-stream] [tahoe-lafs] #1976: SFTP+SSHFS hangs for second concurrent operation (was: FTPS+SSHFS hangs for second operation)

tahoe-lafs trac at tahoe-lafs.org
Thu May 23 16:44:58 UTC 2013


#1976: SFTP+SSHFS hangs for second concurrent operation
-------------------------------+-----------------------------------------
     Reporter:  luckyredhot    |      Owner:  daira
         Type:  defect         |     Status:  assigned
     Priority:  normal         |  Milestone:  undecided
    Component:  code-frontend  |    Version:  1.10.0
   Resolution:                 |   Keywords:  sftp sshfs hang reliability
Launchpad Bug:                 |
-------------------------------+-----------------------------------------
Changes (by daira):

 * keywords:  ftps, sshfs => sftp sshfs hang reliability
 * owner:   => daira
 * status:  new => assigned


Old description:

> I am using Tahoe-Lafs FTPS frontend with SSHFS on Ubuntu 12.04.
> If I try to run second operation (simply "ls" or "du") while first
> writing is running, second one can completely hang sometimes. It does not
> even stops on sending SIGKILL so I need to kill parent bash session.
>
> Tahoe-LAFS versions 1.9.2 and 1.10.0 and both affected.
> SSHFS mount options:
> sshfs -p 8022 -o uid=33 -o gid=33 -o nonempty -o allow_other -o
> idmap=user tahoe at 127.0.0.1:/ /mnt/tahoe
>

> If this is FTPS issue it should be fixed.
> If this is SSHFS issue then probably we have to find other client or some
> workaround (probably 2 sshfs mounts - for writing and for reading).
>
> Any help is appreciated :)
> Please also suggest on commands which I may run when issue occurs to
> gather some debug information.
>
> Thanks!

New description:

 I am using Tahoe-Lafs FTPS frontend with SSHFS on Ubuntu 12.04.
 If I try to run second operation (simply "ls" or "du") while first writing
 is running, second one can completely hang sometimes. It does not even
 stops on sending SIGKILL so I need to kill parent bash session.

 Tahoe-LAFS versions 1.9.2 and 1.10.0 are both affected.

 SSHFS mount options:
 {{{
 sshfs -p 8022 -o uid=33 -o gid=33 -o nonempty -o allow_other -o idmap=user
 tahoe at 127.0.0.1:/ /mnt/tahoe
 }}}

 If this is SFTP issue it should be fixed.
 If this is SSHFS issue then probably we have to find other client or some
 workaround (probably 2 sshfs mounts - for writing and for reading).

 Any help is appreciated :)
 Please also suggest on commands which I may run when issue occurs to
 gather some debug information.

 Thanks!

--

Comment:

 To get debugging output from sshfs, restart it in the foreground with
 options:
 {{{
 -o debug,sshfs_debug,loglevel=debug
 }}}

 To get debugging output from the gateway, see the Realtime Logging section
 of [source:docs/logging.rst].

-- 
Ticket URL: <https://tahoe-lafs.org/trac/tahoe-lafs/ticket/1976#comment:1>
tahoe-lafs <https://tahoe-lafs.org>
secure decentralized storage


More information about the tahoe-lafs-trac-stream mailing list