orientdb: Can not allocate space (error 95) for file ... using native Linux API, more slower methods will be used [OFileClassic]
OrientDB Version: 3.0.2+
Java Version: 1.8.0_181-b13
OS: Ubuntu 18.10 (x64), Raspbian Strech (9.4) (on Raspberry Pi 3)
Expected behavior
No warnings when using the DB.
Actual behavior
2018-07-24 16:07:48:520 WARNI Can not allocate space (error 95) for file .../orientdb-3.0.4/databases/testDB/appsettingsdata_15_188.pcl using native Linux API, more slower methods will be used [OFileClassic]
2018-07-24 16:07:49:308 WARNI Can not allocate space (error 95) for file .../orientdb-3.0.4/databases/testDB/appsettingsdata_159.cpm using native Linux API, more slower methods will be used [OFileClassic]
(some parts of the path above have been omitted with ...)
I keep getting a lot of these warnings on two different Linux OS-es (though both Debian based) since 3.0.2 (in all versions up to including 3.0.4) and I’m wandering is this really a problem/performance hit? No such warnings in 3.0.1.
Steps to reproduce
Just run the DB (non-embedded via server.sh) and write data to it. I’m using spring-data-orientdb in my app to access/use the DB but I don’t think that’s the reason for the warnings.
About this issue
- Original URL
- State: closed
- Created 6 years ago
- Comments: 19 (4 by maintainers)
We’re experiencing the same issue in 3.0.13. OrientDb Server doesn’t want to start.
I have the similar error on my laptop with Ubuntu 18.04 and OrientDB 3.0.10 and java 1.8.0_111 run by command
bash bin/server.shthe serwer wont start at all it works fine on my production server witch is debian it’s distribution downloaded as tar.gz and upackedI tried to set all files permissions to 777 but no success @zerovian suggestion works, but wish not to use it (definitely not on production)
any idea ???
error log
Add -Dstorage.wal.allowDirectIO=false fixes the issue.
Hi @crocy , I will remove this method, it was left just for debugging purpose. There is no really noticeable slowdown because of using alternative approaches.