2017-11-01 15:40:32.070 [DubboSaveRegistryCache-thread-1hread] com.alibaba.dubbo.registry.support.AbstractRegistry.doSaveProperties(AbstractRegistry.java:221)evel com.alibaba.dubbo.registry.support.AbstractRegistry.doSaveProperties(AbstractRegistry.java:221)ogger{80} 221 - [DUBBO] Failed to save registry store file, cause: Can not lock the registry cache file /home/admin/.dubbo/dubbo-registry-mt-zookeeper-vip.cache, ignore and retry later, maybe multi java process use the file, please config: dubbo.registry.file=xxx.properties, dubbo version: 3.8.7, current host: 10.7.13.46sg java.io.IOException: Can not lock the registry cache file /home/admin/.dubbo/dubbo-registry-mt-zookeeper-vip.cache, ignore and retry later, maybe multi java process use the file, please config: ### dubbo.registry.file=xxx.properties at com.alibaba.dubbo.registry.support.AbstractRegistry.doSaveProperties(AbstractRegistry.java:193) at
com.alibaba.dubbo.registry.support.AbstractRegistry$SaveProperties.run(AbstractRegistry.java:150)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:744)
dubbo monitor遇到这种问题该如何解决?错误信息提示配置:dubbo.registry.file=xxx.properties,但是我本地试了之后不起效果。
原提问者GitHub用户imxig
这个日志一般不影响正常业务使用。
同机器部署多个dubbo应用,通过dubbo.registry.file分别配置注册中心缓存文件保存到不同位置
原回答者GitHub用户chickenlj
版权声明:本文内容由阿里云实名注册用户自发贡献,版权归原作者所有,阿里云开发者社区不拥有其著作权,亦不承担相应法律责任。具体规则请查看《阿里云开发者社区用户服务协议》和《阿里云开发者社区知识产权保护指引》。如果您发现本社区中有涉嫌抄袭的内容,填写侵权投诉表单进行举报,一经查实,本社区将立刻删除涉嫌侵权内容。
阿里云拥有国内全面的云原生产品技术以及大规模的云原生应用实践,通过全面容器化、核心技术互联网化、应用 Serverless 化三大范式,助力制造业企业高效上云,实现系统稳定、应用敏捷智能。拥抱云原生,让创新无处不在。