#1976 assigned defect

SFTP+SSHFS hangs for second concurrent operation — at Version 1

Reported by: luckyredhot Owned by: daira
Priority: normal Milestone: undecided
Component: code-frontend-ftp-sftp Version: 1.10.0
Keywords: sftp sshfs hang reliability Cc:
Launchpad Bug:

Description (last modified by daira)

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@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!

Change History (2)

Changed at 2013-05-23T16:36:21Z by luckyredhot

tahoe --version

comment:1 Changed at 2013-05-23T16:44:58Z by daira

  • Description modified (diff)
  • Keywords sftp hang reliability added; ftps removed
  • Owner set to daira
  • Status changed from new to assigned
  • Summary changed from FTPS+SSHFS hangs for second operation to SFTP+SSHFS hangs for second concurrent operation

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 docs/logging.rst.

Note: See TracTickets for help on using tickets.