SFTP+SSHFS hangs for second concurrent operation #1976
Labels
No Label
0.2.0
0.3.0
0.4.0
0.5.0
0.5.1
0.6.0
0.6.1
0.7.0
0.8.0
0.9.0
1.0.0
1.1.0
1.10.0
1.10.1
1.10.2
1.10a2
1.11.0
1.12.0
1.12.1
1.13.0
1.14.0
1.15.0
1.15.1
1.2.0
1.3.0
1.4.1
1.5.0
1.6.0
1.6.1
1.7.0
1.7.1
1.7β
1.8.0
1.8.1
1.8.2
1.8.3
1.8β
1.9.0
1.9.0-s3branch
1.9.0a1
1.9.0a2
1.9.0b1
1.9.1
1.9.2
1.9.2a1
LeastAuthority.com automation
blocker
cannot reproduce
cloud-branch
code
code-dirnodes
code-encoding
code-frontend
code-frontend-cli
code-frontend-ftp-sftp
code-frontend-magic-folder
code-frontend-web
code-mutable
code-network
code-nodeadmin
code-peerselection
code-storage
contrib
critical
defect
dev-infrastructure
documentation
duplicate
enhancement
fixed
invalid
major
minor
n/a
normal
operational
packaging
somebody else's problem
supercritical
task
trivial
unknown
was already fixed
website
wontfix
worksforme
No Milestone
No Assignees
2 Participants
Notifications
Due Date
No due date set.
Reference: tahoe-lafs/trac-2024-07-25#1976
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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:
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!
Attachment tahoe_version (376 bytes) added
tahoe --version
To get debugging output from sshfs, restart it in the foreground with options:
To get debugging output from the gateway, see the Realtime Logging section of source:docs/logging.rst.
FTPS+SSHFS hangs for second operationto SFTP+SSHFS hangs for second concurrent operationOk, I've catched an issue.
It happens when
See attached logs. I've issued ls before [80576] LSTAT
Attachment Tahoe-LAFS_SSHFS_Debug_001.log (2589 bytes) added
Thanks for the bug report, luckyredhot! Is there any incident report file generated by the LAFS gateway when this happens? If not, could you force it to generate one? See wiki/HowToReportABug for instructions.
Attachment incident-2013-06-11--12-22-26Z-oqcgkpa.flog.bz2 (31127 bytes) added
incident file
Incident file has been attached.
Hope it'll be helpful.
Daira,
thanks for yesterday's analysis. What are the following steps we can make?
Probably I may try to raise issue one more time to get additional logs?
Or you think upgrading to 1.10 may also be helpful? (AFAIK SFTP wasn't modified there from 1.9.2).
SFTP was actually modified in 1.10 to improve error handling; I doubt it affects this bug, but it may help slightly in debugging. I'm going to try to reproduce the problem myself, but please feel free to attach another log, since the file incident-2013-06-11--12-22-26Z-oqcgkpa.flog.bz2 seems to be corrupted in some way.
It's unfortunate that the sshfs debug log doesn't include timestamps that could be correlated with the foolscap log.
What do you think if I perform partial Grid update (for example, upgrade 2 of existing 5 nodes to 1.10) and try to catch issue on both 1.9.2 and 1.10 nodes of the same Grid? Sound reasonable?
Replying to luckyredhot:
Dear Oleksandr:
I would assume that the storage servers have nothing to do with this bug. However, since I don't understand this bug, maybe my assumption is bad.
However, I suspect you'd get more better debugging information for your effort if you try different versions of Tahoe-LAFS for the gateway rather than the servers.
I agree with zooko that this is unlikely to be related to the storage server versions.