标签:config 出错 临时 修改 user figure limit echo 生效
the configured user limit (128) on the number of inotify instances has been reached
在DotNet核心中读取json文件时出错“已达到inotify实例数量的配置用户限制(128)”
解决方法:
临时:
$ echo 65536 > /proc/sys/fs/inotify/max_user_instances
永久更改:
vi /etc/sysctl.conf #添加如下内容
fs.inotify.max_queued_events = 32768
fs.inotify.max_user_instances = 65536
fs.inotify.max_user_watches = 1048576
sysctl -p #使修改后文件生效
the configured user limit (128) on the number of inotify instances has been reached
标签:config 出错 临时 修改 user figure limit echo 生效
原文地址:https://www.cnblogs.com/lidezhen/p/11509412.html