mirror of
https://github.com/s3fs-fuse/s3fs-fuse.git
synced 2026-04-25 13:26:00 +03:00
[GH-ISSUE #1576] s3fs hangs after successful connection to S3 bucket (ReturnHandler(110): Pool full) #828
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#828
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 @askol-lurie on GitHub (Feb 16, 2021).
Original GitHub issue: https://github.com/s3fs-fuse/s3fs-fuse/issues/1576
Additional Information
The following information is very important in order to help us to help you. Omission of the following details may delay your support request or receive no attention at all.
Keep in mind that the commands we provide to retrieve information are oriented to GNU/Linux Distributions, so you could need to use others if you use s3fs on macOS or BSD
Version of s3fs being used (s3fs --version)
1.88
Version of fuse being used (pkg-config --modversion fuse, rpm -qi fuse, dpkg -s fuse)
2.9.4
Kernel information (uname -r)
4.14.193-113.317.amzn1.x86_64
GNU/Linux Distribution, if applicable (cat /etc/os-release)
command result:
NAME="Amazon Linux AMI"
VERSION="2018.03"
ID="amzn"
ID_LIKE="rhel fedora"
VERSION_ID="2018.03"
PRETTY_NAME="Amazon Linux AMI 2018.03"
ANSI_COLOR="0;33"
CPE_NAME="cpe:/o:amazon:linux:2018.03:ga"
HOME_URL="http://aws.amazon.com/amazon-linux-ami/"
s3fs command line used, if applicable
/etc/fstab entry, if applicable
s3fs syslog messages (grep s3fs /var/log/syslog, journalctl | grep s3fs, or s3fs outputs)
if you execute s3fs with dbglevel, curldbg option, you can get detail debug messages
Details about issue
I first tried mounting the S3 using IAM used to create the S3 bucket. That was unsuccessful. I got further by placing the access key information in /etc/passwd-s3fs.
After issuing the command above s3fs gets hung with the curl_handlerpool.cpp:ReturnHandler(110): Pool full: destroy the oldest handler. I do not see any errors up to this point.
My issue seems very similar to: https://github.com/s3fs-fuse/s3fs-fuse/issues/1518
Thanks for any help.
@johncthomas commented on GitHub (Jul 4, 2022):
Hanging at the same place, it's been half an hour so far. Will it eventually work?
@ggtakec commented on GitHub (Jul 6, 2022):
@johncthomas I'm sorry for the late reply.
I found a bug in the part you pointed out. (But I don't think it hangs.)
I will post a PR about it soon.
If you can, please you try it(hangup) with the latest version v1.91 or the code in the master branch?
Thanks in advance for your help.
@johncthomas commented on GitHub (Jul 6, 2022):
Thanks for getting back. It's hanging in the same place after I compiled from the latest git. I've realised that the S3 bucket and the EC2 instance are not in the same region, so maybe that's it? I've also figured out I don't actually need the fuse now, so don't worry about this on my behalf.
@ggtakec commented on GitHub (Jul 6, 2022):
@johncthomas Thank you for your quick response.
From your logs, I know that this code has been executed, but I don't know the possibility of hangs after that yet.
If the
urlorendpointoption is incorrect, s3fs may exit with the logs shown below:However, just before that, I should get an error saying that the endpoint is wrong, such as
HTTP response code 301(Moved Permanently: also happens when bucket's region is incorrect)....This log is very similar to your log.(However, it does not hangup and ends normally.)
In your log,
s3fs_destroyis being called in the same way, so it seems that the bucket check failed and s3fs is about to exit(but it hanged up).Could you run s3fs with the correct url/endpoint options and without any error?
@perry-mitchell commented on GitHub (Apr 20, 2023):
Happening to me, latest master version as of now:
Relevant logs:
Note that this same command works on my local (Ubuntu 22.04), but not in my docker container (Debian 10 slim). Am I missing some software or is there some known compatibility here?
I'm building from source, and connecting both AWS S3 and Scaleway Object Storage. Scaleway works and AWS S3 does not. Super strange.
EDIT: To clarify, it hangs here, after those last logs - and never progresses or exits.
EDIT2: Using similar settings on rclone mounts the bucket fine.. so there's possibly something in my s3fs config or some bug that's causing it to hang. I'd guess the latter as it doesn't seem to time out.
@ggtakec commented on GitHub (May 4, 2023):
@perry-mitchell
It seems to hang up in the communication from inside the docker container to outside.
Could you possible to check the communication route between container and outside network?
And if you have problems with that and need a PROXY setting, you can specify things like the
proxyandproxy_cred_fileoptions added in #2075, or use things like theHTTP(S)_PROXYenvironment variable.Thanks in advance for your assistance.
@xplosionmind commented on GitHub (Sep 26, 2023):
I am having the same error here! I cannot see if the connection was successful after the command has completed, and the only way to check is by enabling the debug flag.
@zhao-ji commented on GitHub (Nov 23, 2023):
Having the same issue here.
@alter commented on GitHub (Mar 17, 2024):
same ...
@ggtakec commented on GitHub (Mar 24, 2024):
@xplosionmind @zhao-ji @alter
Is it possible to start s3fs with dbglevel=info (or dbg) and curldbg options and collect logs of the problem in question?
Perhaps those are needed to determine the cause.
Thanks in advance for your assistance.