nexus 私服 提示磁盘空间不足

nexus使用过程中随着资源的增加,磁盘剩余空间将越来越小,小到一定程度后会报以下错误

 Return code is: 500 , ReasonPhrase:javax.servlet.ServletException: com.orientechnologies.orient.core.exception.OLowDiskSpaceException: Error occurred while executing a write operation to database 'component' due to limited free space on the disk (3645 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="component". -> [Help 1]

意思的nexus要求最少有4096MB的磁盘空间,现在剩余的不够了。

同时上面的错误也指出了有俩种解决办法

一种是清理磁盘空间,这个大家都理解。

第二种是设置storage.diskCache.diskFreeSpaceLimit变量,

这种方式的设置地点为:{nexue安装目录}/bin/nexus.vmoptions,如下图所示。

 

 

 

评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值