Comments (10)
Hello,
first of all, I'd like to let you know that we didn't really test RioFS with cache turning off. But as far as I remember it should work, as there aren't any additional code used (some time ago I run a number of tests with caching turned off to see how does RioFS behave, and it worked fine).
As I understand, you are confused by the log messages which mention "cache". This is ok, as we are accessing caching subsystem code (it prints "Reading from cache") and cache returns "0 bytes available" for a requested part.
from riofs.
Hello, my use-case:
- A-host write "task.txt" to S3 (by RioFS)
- B-host read and change "task.txt".
- After hour, A-host read "task.txt" but always get old content of file.
Now i rewrite rio-config (and total reload\unmount RioFS):
<dir_cache_max_time type="uint">0</dir_cache_max_time>
<file_cache_max_time type="uint">0</file_cache_max_time>
<md5_enabled type="boolean">False</md5_enabled>
<cache_enabled type="boolean">False</cache_enabled>
<cache_dir type="string">/tmp/riofs</cache_dir>
<cache_dir_max_size type="uint">0</cache_dir_max_size>
<cache_object_ttl type="uint">0</cache_object_ttl>
Problem dirty solved,
but in /tmp/rio-fs i always see new files "cache_mng_*" (why? i disable cache).
from riofs.
Thank you for the test case, I'll check and see how it works for me!
from riofs.
Is this still open? If so, can I ask about the current knowledge of the caching system?
from riofs.
I can't reproduce this issue on my side. If anyone's managed to get this error - please attach log file, so I could analyze it.
from riofs.
Hi, recently I have implemented RioFS on ubuntu 16.0.4 LTE. I have configured RIOFS as follows
'sudo riofs -o "allow_other" -o "direct_io" -c '/usr/local/etc/riofs/riofs.conf.xml' --uid=48 --gid=48 -l /var/log/riofs.log my-bucket /var/www/html/public/data'
Initially, it was working fine, but now a I am seeing errors in log file.
ERROR! [ino: 305] Failed to create / open file for writing! Path: /tmp/cache/BdoSIvoV6b69ejy1n8sJ/cache_mng_305
ERROR! [ino: 305] Failed to open file for reading! Path: /tmp/cache/BdoSIvoV6b69ejy1n8sJ/cache_mng_305
ERROR! [ino: 1525] Failed to create / open file for writing! Path: /tmp/cache/BdoSIvoV6b69ejy1n8sJ/cache_mng_1525
ERROR! [ino: 998] Failed to create / open file for writing! Path: /tmp/cache/BdoSIvoV6b69ejy1n8sJ/cache_mng_998
ERROR! [ino: 1790] Failed to create / open file for writing! Path: /tmp/cache/BdoSIvoV6b69ejy1n8sJ/cache_mng_1790
ERROR! [ino: 305] Failed to create / open file for writing! Path: /tmp/cache/BdoSIvoV6b69ejy1n8sJ/cache_mng_305
ERROR! [ino: 305] Failed to open file for reading! Path: /tmp/cache/BdoSIvoV6b69ejy1n8sJ/cache_mng_305
ERROR! [ino: 1525] Failed to create / open file for writing! Path: /tmp/cache/BdoSIvoV6b69ejy1n8sJ/cache_mng_1525
ERROR! [ino: 998] Failed to create / open file for writing! Path: /tmp/cache/BdoSIvoV6b69ejy1n8sJ/cache_mng_998
ERROR! [ino: 1790] Failed to create / open file for writing! Path: /tmp/cache/BdoSIvoV6b69ejy1n8sJ/cache_mng_1790
ERROR! [ino: 305] Failed to create / open file for writing! Path: /tmp/cache/BdoSIvoV6b69ejy1n8sJ/cache_mng_305
ERROR! [ino: 305] Failed to open file for reading! Path: /tmp/cache/BdoSIvoV6b69ejy1n8sJ/cache_mng_305
ERROR! [ino: 1525] Failed to create / open file for writing! Path: /tmp/cache/BdoSIvoV6b69ejy1n8sJ/cache_mng_1525
ERROR! [ino: 998] Failed to create / open file for writing! Path: /tmp/cache/BdoSIvoV6b69ejy1n8sJ/cache_mng_998
ERROR! [ino: 1790] Failed to create / open file for writing! Path: /tmp/cache/BdoSIvoV6b69ejy1n8sJ/cache_mng_1790
ERROR! [ino: 305] Failed to create / open file for writing! Path: /tmp/cache/BdoSIvoV6b69ejy1n8sJ/cache_mng_305
ERROR! [ino: 305] Failed to open file for reading! Path: /tmp/cache/BdoSIvoV6b69ejy1n8sJ/cache_mng_305
ERROR! [ino: 1525] Failed to create / open file for writing! Path: /tmp/cache/BdoSIvoV6b69ejy1n8sJ/cache_mng_1525
ERROR! [ino: 998] Failed to create / open file for writing! Path: /tmp/cache/BdoSIvoV6b69ejy1n8sJ/cache_mng_998
ERROR! [ino: 305] Failed to create / open file for writing! Path: /tmp/cache/BdoSIvoV6b69ejy1n8sJ/cache_mng_305
ERROR! [ino: 305] Failed to open file for reading! Path: /tmp/cache/BdoSIvoV6b69ejy1n8sJ/cache_mng_305
ERROR! [ino: 1790] Failed to create / open file for writing! Path: /tmp/cache/BdoSIvoV6b69ejy1n8sJ/cache_mng_1790
ERROR! [ino: 1525] Failed to create / open file for writing! Path: /tmp/cache/BdoSIvoV6b69ejy1n8sJ/cache_mng_1525
ERROR! [ino: 998] Failed to create / open file for writing! Path: /tmp/cache/BdoSIvoV6b69ejy1n8sJ/cache_mng_998
ERROR! [ino: 305] Failed to create / open file for writing! Path: /tmp/cache/BdoSIvoV6b69ejy1n8sJ/cache_mng_305
ERROR! [ino: 305] Failed to open file for reading! Path: /tmp/cache/BdoSIvoV6b69ejy1n8sJ/cache_mng_305
ERROR! [ino: 1790] Failed to create / open file for writing! Path: /tmp/cache/BdoSIvoV6b69ejy1n8sJ/cache_mng_1790
ERROR! [ino: 1525] Failed to create / open file for writing! Path: /tmp/cache/BdoSIvoV6b69ejy1n8sJ/cache_mng_1525
ERROR! [ino: 998] Failed to create / open file for writing! Path: /tmp/cache/BdoSIvoV6b69ejy1n8sJ/cache_mng_998
ERROR! [ino: 1790] Failed to create / open file for writing! Path: /tmp/cache/BdoSIvoV6b69ejy1n8sJ/cache_mng_1790
ERROR! [ino: 1525] Failed to create / open file for writing! Path: /tmp/cache/BdoSIvoV6b69ejy1n8sJ/cache_mng_1525
what does it mean. It is not able to create cache files on the disk ?
from riofs.
Hello,
please check if /tmp/cache/BdoSIvoV6b69ejy1n8sJ/ folder exists and has enough space to create new files.
from riofs.
yes, disk was filled. too many logs are getting generated. I have set Cache to true, and I can see couple of files in /tmp/cache folder. Do I need to manually clear the files form cache folder or RioFs will automatically clear them ?
from riofs.
My Cache directory is going off after one day and riofs is not able to create cache folder. where can I need to set permissions to make sure that cache directory gets created automatically and also sub folders.
from riofs.
@wizzard after every 24 hours, the cache directory is going off. once I restart riofs, then the folder gets created and riofs works normally. from logs I can see lots of [con: 0x1ece270].
My config file is as follows and the mount command I am using is
/usr/local/bin/riofs -o "allow_other" -o "direct_io" -c '/usr/local/etc/riofs/riofs.conf.xml' --uid=48 --gid=48 --fmode=0777 --dmode=0777 -l /var/log/riofs.log my-staging-data /var/www/application/public/data
riofs-config-file.zip
I have noticed this from last 3 days.
from riofs.
Related Issues (20)
- How does caching work? Under what conditions can it fail? HOT 2
- build fails with openssl-1.1 ( SSL_library_init symbol not found )
- openssl 1.1 "make" failed HOT 4
- Does riofs support cn-north-1 region? HOT 1
- Latest commits affect stability HOT 6
- riofs and google cloud storage s3 compatibility HOT 3
- possibility to use HTTPS endpoint on different port HOT 2
- [Request] Digital Ocean S3 Spaces HOT 5
- unrecoverable crash HOT 2
- If cache directory is deleted, RioFS is not creating it again unless restart RioFS HOT 1
- Is it possible to use riofs with localstack? HOT 1
- Unable to rename files HOT 2
- Permission Issue in Riofs and Fuse with ???????
- riofs automatically un-mount in server
- RIOFS Auto demount HOT 1
- Is anyone available to do some PAID support? HOT 1
- RioFS cannot mount AWS S3 buckets HOT 4
- it is possible to use riofs with cross account profiles? HOT 1
- stable enough for production use? HOT 3
- Large files performance
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from riofs.