mirror of
https://github.com/s3fs-fuse/s3fs-fuse.git
synced 2026-04-25 21:35:58 +03:00
[GH-ISSUE #2446] Too many del stat cache entry and head requests for just 1 file requested #1205
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#1205
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 @nguyenminhdungpg on GitHub (Apr 19, 2024).
Original GitHub issue: https://github.com/s3fs-fuse/s3fs-fuse/issues/2446
Additional Information
Version of s3fs being used (
s3fs --version)Amazon Simple Storage Service File System V1.93 (commit:unknown) with OpenSSL
Version of fuse being used (
pkg-config --modversion fuse,rpm -qi fuseordpkg -s fuse)2.9.9
Kernel information (
uname -r)6.2.16-19-pve
GNU/Linux Distribution, if applicable (
cat /etc/os-release)NAME="Ubuntu"
VERSION="20.04.6 LTS (Focal Fossa)"
How to run s3fs, if applicable
[] command line
s3fs $aws_bucket /home/mounted -o endpoint=ap-southeast-1 -o allow_other -o umask=000 -o dbglevel=info -o use_cache=/home/mounted-cache -o disable_noobj_cache -o max_background=1000 -o parallel_count=30 -o multireq_max=50 -o logfile=/var/log/mounted.log
[] /etc/fstab
s3fs syslog messages (
grep s3fs /var/log/syslog,journalctl | grep s3fs, ors3fs outputs)Details about issue
In haproxy log, there is only one request to img_2024_04_11_10_39_47.jpg but in logs of s3fs, there are 4 times of Head Request sent to S3 and 4 times executed delete stat cache entry of the file.
My website has very large number of uploaded images and when it takes high traffics, s3fs is very slow and there so so much of Head requests like above.
Could you please tell me why there are so much Head requests and how to optimize this.
Thank you very much.