-
Notifications
You must be signed in to change notification settings - Fork 215
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
file stuck in cache #1195
Comments
Kindly share little more details on your workflow and what issue you have observed ? |
hey, thanks for your answer A new file is pulled locally immediately, but changes are stuck in the cache folder is there a specific flag controlling that? thanks |
What do you mean by "changes are stuck in cache folder". I assume what you refer here is changes are present in local cache but not updated on container. This means the file handle was not closed from your end. If you enable log_debug you can see whether a close call was received by blobfuse or not. If received whether there was any sort of failure or not. |
hey, no, I meant the opposite (as I mentioned in the beginning , it's about downstream sync) |
also, I have another (maybe related) issues (should I open a new GH issue? ) the |
here is my config
|
Ok so what you mean is you can see the changes in the container but on blobfuse mount path you still observe contents being stale. This could be due to one of these reasons:
|
still no downstream sync (automatic fetch) |
same problem if running with
|
Can you try manually cleaning up the kernel cache and confirm that its a caching issue? Before you try to read a file (where you expect it to fetch updated contents) just clean up the kernel page cache using "sysctl -w vm.drop_caches=3" command. |
so yes, after cleaning the cache ( this happens with both config files shown above so, what should I change in the config? |
This means kernel is not honoring the direct_io flag and still caching the contents. Are you mounting on inside a container or AKS environment? |
no, just in the normal linux filesystem (VM) (/home) |
We are not able to reproduce this locally. If we provide a potential fix, will you able to try out a private build in your environment. |
yes, I think so |
this seems fixed -- it is changing also depending how the file is opened (I guess this is a microsoft issue): |
Any news about this issue ? |
what do you mean? -- the issues is closed |
I'm facing the same your issue with blobfuse2 version 2.1.0 on Azure Linux VM. I'd like to know what the solution could be. Thanks |
Sorry, I found the solution. In my mount config file for the blob storage I added true value to the disable-writeback-cache
thanks |
Which version of blobfuse was used?
2.0.4
Which OS distribution and version are you using?
Ubuntu 20.04.6 LTS
What was the issue encountered?
file does not sync downstream : the new v. fetched from remote server, gets stuck into cache (also beyond timeout)
The text was updated successfully, but these errors were encountered: