Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

memory leak while using with disk cache #117

Open
eminden opened this issue Jul 17, 2024 · 0 comments
Open

memory leak while using with disk cache #117

eminden opened this issue Jul 17, 2024 · 0 comments

Comments

@eminden
Copy link

eminden commented Jul 17, 2024

Using version 0.41.1 observed memory leak while using with disk cache, my use case is like ~100 large files, no write, read only, disk cache is required because it doesn't fit into memory, files are read sequencially multiple times so no need to download from server again and again.

Running the app like

geesefs --endpoint https://s3.eu-central-1.wasabisys.com --memory-limit 10000 --debug_fuse --log-file /var/log/fuse.log --cache /mnt/cache-geesefs --debug_s3 bucket /mnt/fs

Process is OOMed while using more than 50GB of memory even though --memory-limit was set to 10GB.

[82382.375200] Out of memory: Killed process 178857 (geesefs) total-vm:53257300kB, anon-rss:52534840kB, file-rss:256kB, shmem-rss:0kB, UID:0 pgtables:102980kB oom_score_adj:1000

Apart from the memory leak, I see that there is no max cache size and disk eviction logic implementation yet, is there any ETA for this?

Thanks for the amazing work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant