mirror of
https://github.com/s3fs-fuse/s3fs-fuse.git
synced 2026-04-25 13:26:00 +03:00
[GH-ISSUE #2397] s3fs freezes when running a working command with the -f foreground option #1180
Labels
No labels
bug
bug
dataloss
duplicate
enhancement
feature request
help wanted
invalid
need info
performance
pull-request
question
question
testing
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/s3fs-fuse#1180
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
Originally created by @GrimzEcho on GitHub (Jan 10, 2024).
Original GitHub issue: https://github.com/s3fs-fuse/s3fs-fuse/issues/2397
Details about issue
While troubleshooting an issue with mounting a specific bucket, I attempted to use the
-f (foreground)option. This resulted in the terminal running the foreground s3fs process completely freezing. It was not responsive to anyctrl+cor similar commands. Additionally, attempting to perform any disk operations from another terminal (such asls /tmpordf -h) would hang indefinitely. The only way to recover would be tops -aux | grep s3fsandkill -9the stuck s3fs process.This happens with any s3fs command run in the foreground, even commands that otherwise successfully mount the S3 bucket. Taking a working command (tested several) and just adding the
-foption causes the program to freezeAdditional Information
Version of s3fs being used (
s3fs --version)Version of fuse being used (
pkg-config --modversion fuse,rpm -qi fuseordpkg -s fuse)Kernel information (
uname -r)GNU/Linux Distribution, if applicable (
cat /etc/os-release)Executed command
s3fs syslog messages (
grep s3fs /var/log/syslog,journalctl | grep s3fs, ors3fs outputs)@ggtakec commented on GitHub (Feb 12, 2024):
@BrianHVB Are you trying to use fuse3?
s3fs-fuse does not yet support fuse3.(Code modifications will be required to support it.)
Although it may seem to be working normally, problems will probably occur in various places when using fuse3.
@theeternalrat commented on GitHub (Jul 14, 2025):
I have a similar setup, Debian 12, s3fs v1.90, no fuse3 installed.
It appears that curl is not communicating properly with IMDSv2:
The application will hang here until forcibly killed. Compared to a working call to the token service:
I believe the issue is
Transfer-Encoding: chunked, but I am not familiar enough to say definitively.After digging around in the issues more, I found #1581 which has a fix. The next problem being that updated versions of s3fs isn't available in Debian 12.