[GH-ISSUE #1031] Continuous increase of cpu and mem usage in ubuntu 18.04 #566

Closed
opened 2026-03-04 01:46:47 +03:00 by kerem · 4 comments
Owner

Originally created by @substa on GitHub (May 13, 2019).
Original GitHub issue: https://github.com/s3fs-fuse/s3fs-fuse/issues/1031

Version of s3fs being used (s3fs --version)

V 1.82

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

2.9.7

Kernel information (uname -r)

4.15.0-48-generic

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

Ubuntu 18.04.2 LTS

s3fs command line used, if applicable

s3fs -o allow_other,use_cache=/tmp bucket mountpoint

Details about issue

Continuous increase of cpu and mem usage.

After 10 minutes:
PID PPID CMD %MEM %CPU
25006 1 s3fs -o allow_other,use_cac 4.9 6.7

After 20 minutes:
PID PPID CMD %MEM %CPU
25006 1 s3fs -o allow_other,use_cac 7.6 12.8

etc etc, cpu and mem usage continue to increase until the crash...

The problem started after the upgrade to current LTS ubuntu release.

Temporarily I'm fixing with a cron script that unmount and remount every N minutes...

(P.S. already added bucket mountpoint to PRUNEPATHS in /etc/updatedb.conf)

Originally created by @substa on GitHub (May 13, 2019). Original GitHub issue: https://github.com/s3fs-fuse/s3fs-fuse/issues/1031 #### Version of s3fs being used (s3fs --version) V 1.82 #### Version of fuse being used (pkg-config --modversion fuse, rpm -qi fuse, dpkg -s fuse) 2.9.7 #### Kernel information (uname -r) 4.15.0-48-generic #### GNU/Linux Distribution, if applicable (cat /etc/os-release) Ubuntu 18.04.2 LTS #### s3fs command line used, if applicable ``` s3fs -o allow_other,use_cache=/tmp bucket mountpoint ``` ### Details about issue Continuous increase of cpu and mem usage. After 10 minutes: PID PPID CMD %MEM %CPU 25006 1 s3fs -o allow_other,use_cac 4.9 6.7 After 20 minutes: PID PPID CMD %MEM %CPU 25006 1 s3fs -o allow_other,use_cac 7.6 12.8 etc etc, cpu and mem usage continue to increase until the crash... The problem started after the upgrade to current LTS ubuntu release. Temporarily I'm fixing with a cron script that unmount and remount every N minutes... (P.S. already added bucket mountpoint to PRUNEPATHS in /etc/updatedb.conf)
kerem closed this issue 2026-03-04 01:46:48 +03:00
Author
Owner

@gaul commented on GitHub (May 13, 2019):

Could you test with the latest version 1.85? It includes many fixes and 1.82 is several years old.

<!-- gh-comment-id:491769868 --> @gaul commented on GitHub (May 13, 2019): Could you test with the latest version 1.85? It includes many fixes and 1.82 is several years old.
Author
Owner

@substa commented on GitHub (May 13, 2019):

On my repo 1.82 is the latest.
Is there an alternative repo or I have to install it manually?

<!-- gh-comment-id:491775125 --> @substa commented on GitHub (May 13, 2019): On my repo 1.82 is the latest. Is there an alternative repo or I have to install it manually?
Author
Owner

@gaul commented on GitHub (May 13, 2019):

I reported https://bugs.launchpad.net/ubuntu/+source/s3fs-fuse/+bug/1828849 to Ubuntu to upgrade their s3fs version but you should try compiling from source in the interim.

<!-- gh-comment-id:491877942 --> @gaul commented on GitHub (May 13, 2019): I reported https://bugs.launchpad.net/ubuntu/+source/s3fs-fuse/+bug/1828849 to Ubuntu to upgrade their s3fs version but you should try [compiling from source](https://github.com/s3fs-fuse/s3fs-fuse/blob/master/COMPILATION.md) in the interim.
Author
Owner

@substa commented on GitHub (May 13, 2019):

Ok perfect,
version 1.86 seems to have fixed the bug.

Thank you :)

<!-- gh-comment-id:491896011 --> @substa commented on GitHub (May 13, 2019): Ok perfect, version 1.86 seems to have fixed the bug. Thank you :)
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#566
No description provided.