s3fs occasionally experiences 100% CPU usage and tens of GB of memory consumption. Using perf top -p $pid, the output indicates that the call to std::vector<std::unique_ptr<S3fsCurl, std::default_delete >, std::allocator<std::unique_ptr<S3fsCurl, std::default_delete > > >::_M_erase consumes all CPU resources.
Additional Information
Version of s3fs being used (
s3fs --version
)V1.94 (commit:70a30d6) with GnuTLS(gcrypt) V1.9.0 have the same issue
Version of fuse being used (
pkg-config --modversion fuse
,rpm -qi fuse
ordpkg -s fuse
)Version: 2.9.9-5ubuntu3 Depends: libc6 (>= 2.34), libfuse2 (= 2.9.9-5ubuntu3), adduser, mount (>= 2.19.1), sed (>= 4)
Kernel information (
uname -r
)5.15.0-119-generic
GNU/Linux Distribution, if applicable (
cat /etc/os-release
)PRETTY_NAME="Ubuntu 22.04.4 LTS" NAME="Ubuntu" VERSION_ID="22.04" VERSION="22.04.4 LTS (Jammy Jellyfish)" VERSION_CODENAME=jammy ID=ubuntu ID_LIKE=debian HOME_URL="https://www.ubuntu.com/" SUPPORT_URL="https://help.ubuntu.com/" BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/" PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy" UBUNTU_CODENAME=jammy
How to run s3fs, if applicable
[] /etc/fstab
s3fs syslog messages (
grep s3fs /var/log/syslog
,journalctl | grep s3fs
, ors3fs outputs
)Details about issue
s3fs occasionally experiences 100% CPU usage and tens of GB of memory consumption. Using perf top -p $pid, the output indicates that the call to std::vector<std::unique_ptr<S3fsCurl, std::default_delete >, std::allocator<std::unique_ptr<S3fsCurl, std::default_delete > > >::_M_erase consumes all CPU resources.