[GH-ISSUE #2509] s3fs use memory over 20GB #1224

Open
opened 2026-03-04 01:52:22 +03:00 by kerem · 1 comment
Owner

Originally created by @hyf1128 on GitHub (Aug 5, 2024).
Original GitHub issue: https://github.com/s3fs-fuse/s3fs-fuse/issues/2509

Additional Information

I used s3fs mount bucket, after some days, s3fs used memory over 20GB.
My IO model is that, some threads write compressed package on a directory, if someone need use infomation of one of thess, a thread will decompress to another directory and read it.

Version of s3fs being used (s3fs --version)

V1.91

Version of fuse being used (pkg-config --modversion fuse, rpm -qi fuse or dpkg -s fuse)

2.9.7

Kernel information (uname -r)

GNU/Linux Distribution, if applicable (cat /etc/os-release)

CentOS 7.9

How to run s3fs, if applicable

s3fs bucket /mnt/bucket -o url=https:// -o endpoint= -o passwd_file=/opt/passwd-s3fs -o big_writes -o sigv2 -o allow_other -o no_check_certificate -o ssl_verify_hostname=0 -o max_write=131072 -o multipart_size=20 -o umask=0

s3fs syslog messages (grep s3fs /var/log/syslog, journalctl | grep s3fs, or s3fs outputs)

Details about issue

Originally created by @hyf1128 on GitHub (Aug 5, 2024). Original GitHub issue: https://github.com/s3fs-fuse/s3fs-fuse/issues/2509 <!-- -------------------------------------------------------------------------- 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. --------------------------------------------------------------------------- --> ### Additional Information I used s3fs mount bucket, after some days, s3fs used memory over 20GB. My IO model is that, some threads write compressed package on a directory, if someone need use infomation of one of thess, a thread will decompress to another directory and read it. #### Version of s3fs being used (`s3fs --version`) <!-- example: V1.91 (commit:b19262a) --> V1.91 #### Version of fuse being used (`pkg-config --modversion fuse`, `rpm -qi fuse` or `dpkg -s fuse`) <!-- example: 2.9.2 --> 2.9.7 #### Kernel information (`uname -r`) <!-- example: 5.10.96-90.460.amzn2.x86_64 --> #### GNU/Linux Distribution, if applicable (`cat /etc/os-release`) <!-- command result --> CentOS 7.9 #### How to run s3fs, if applicable <!-- Describe the s3fs "command line" or "/etc/fstab" entry used. --> <!-- Executed command line or /etc/fastab entry --> ``` s3fs bucket /mnt/bucket -o url=https:// -o endpoint= -o passwd_file=/opt/passwd-s3fs -o big_writes -o sigv2 -o allow_other -o no_check_certificate -o ssl_verify_hostname=0 -o max_write=131072 -o multipart_size=20 -o umask=0 ``` #### 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 <!-- Please describe the content of the issue in detail. -->
Author
Owner

@gaul commented on GitHub (Aug 6, 2024):

Please test with the latest version 1.94.

<!-- gh-comment-id:2270466699 --> @gaul commented on GitHub (Aug 6, 2024): Please test with the latest version 1.94.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/s3fs-fuse#1224
No description provided.