mirror of
https://github.com/s3fs-fuse/s3fs-fuse.git
synced 2026-04-25 05:16:00 +03:00
[GH-ISSUE #209] ENOSPC returned some times #116
Labels
No labels
bug
bug
dataloss
duplicate
enhancement
feature request
help wanted
invalid
need info
performance
pull-request
question
question
testing
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/s3fs-fuse#116
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @UnitedMarsupials-zz on GitHub (Jul 16, 2015).
Original GitHub issue: https://github.com/s3fs-fuse/s3fs-fuse/issues/209
We use s3fs as the backing store for an FTP-server. Files uploaded to us by FTP-only third-parties are then available for download via S3 bucket directly...
Today I got an report quoting our server erroring out with ENOSPC, which I find rather bizarre:
The size of the s3 filesystem is, obviously humongous, so where could the limit be coming from? Could it be the amount of free space on the cache filesystem, that's the problem? Can s3fs be told to write directly to s3 -- either always, or when cache has not space? We do clean the cache up periodically, but, even if the cache fills up in between clean-ups, s3fs ought to degrade gracefully...
@gaul commented on GitHub (Jul 16, 2015):
Which FTP server do you use? Can you
straceit to determine which system calls it executes?@UnitedMarsupials-zz commented on GitHub (Jul 16, 2015):
We use mod_ftp inside Apache. The problem is not easy to reproduce -- haven't had it in 6 weeks since deploying this server to production, and it is gone now... Also, strace-ing Apache is notoriously difficult.
But my suspicion -- that saving the full file in cache is required , when cache is enabled at all -- is easy to confirm or deny, is not it? Thank you!
@ggtakec commented on GitHub (Jan 17, 2016):
I'm sorry for that this issue had been left at a long period of time.
s3fs latest codes supports "ensure_diskfree" option, it keeps free disk space.
s3fs can not cache of cleaning, but this option will not be able to generate an ENOSPC by the s3fs cache.
Please try to use latest codes and this option.
Thanks in advance for your assistance.
@ggtakec commented on GitHub (Mar 29, 2019):
We kept this issue open for a long time.
I will close this, but if the problem persists, please reopen or post a new issue.