错误提示1:磁盘不足报错
log如下:
Caused by: com.orientechnologies.orient.core.exception.OLowDiskSpaceException: Error occurred while executing a write operation to database 'OSystem' due to limited free space on the disk (3658 MB). The database is now working in read-only mode. Please close the database (or stop OrientDB), make room on your hard drive and then reopen the database. The minimal required space is 4096 MB. Required space is now set to 4096MB (you can change it by setting parameter storage.diskCache.diskFreeSpaceLimit) .
DB name="OSystem"
解决方案
报错文件中也指出了两个解决方案
-
一种是清理磁盘空间,这个大家都理解。
-
(you can change it by setting parameter storage.diskCache.diskFreeSpaceLimit) .
设置storage.diskCache.diskFreeSpaceLimit
变量,
这种方式的设置地点为:{nexue安装目录}/bin/nexus.vmoptions,如下图所示。