1、问题描述:
com.alibaba.nacos.api.exception.runtime.NacosRuntimeException: ErrCode:500, ErrMsg:User limit of inotify watches reached
...
java.io.IOException: User limit of inotify instances reached or too many open files
通过google和github中都找到了相关的问题
解决方法:在nacos节点执行如下命令
echo fs.inotify.max_user_watches=65536 | tee -a /etc/sysctl.conf && sysctl -p
cat /proc/sys/fs/inotify/max_user_watches
重启nacos的Pod后即可恢复正常
评论区