[GH-ISSUE #106] Limit Cache Size #64

Closed
opened 2026-03-04 01:41:43 +03:00 by kerem · 2 comments
Owner

Originally created by @Jafo232 on GitHub (Jan 20, 2015).
Original GitHub issue: https://github.com/s3fs-fuse/s3fs-fuse/issues/106

Is there a way to limit the size of the cache, or somehow expire items in the cache after X amount of time?

Originally created by @Jafo232 on GitHub (Jan 20, 2015). Original GitHub issue: https://github.com/s3fs-fuse/s3fs-fuse/issues/106 Is there a way to limit the size of the cache, or somehow expire items in the cache after X amount of time?
kerem closed this issue 2026-03-04 01:41:43 +03:00
Author
Owner

@ggtakec commented on GitHub (Mar 4, 2015):

Now s3fs does not have the function which is limiting cache size.
But there is sample script in test/sample_delcache.sh, maybe it helps to solve your problem.
This script searches files in cache directory and removing cache files by sorted atime.

Please try to use and modify the script.
Thanks in advance for your assistance.

<!-- gh-comment-id:77121794 --> @ggtakec commented on GitHub (Mar 4, 2015): Now s3fs does not have the function which is limiting cache size. But there is sample script in test/sample_delcache.sh, maybe it helps to solve your problem. This script searches files in cache directory and removing cache files by sorted atime. Please try to use and modify the script. Thanks in advance for your assistance.
Author
Owner

@ggtakec commented on GitHub (Jan 17, 2016):

#280(#269) supports ensure_diskfree option, it limits cache size on your disk.
I'm closing this issue, if you have a problem yet, please post new issue or reopen this issue.

Thanks in advance for your help.

<!-- gh-comment-id:172300796 --> @ggtakec commented on GitHub (Jan 17, 2016): #280(#269) supports ensure_diskfree option, it limits cache size on your disk. I'm closing this issue, if you have a problem yet, please post new issue or reopen this issue. Thanks in advance for your help.
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#64
No description provided.