解决 .NET 报 the configured user limit (128) on the number of inotify instances has been reached 异常
异常 the configured user limit (128) on the number of inotify instances has been reached
原因:在DotNet核心中读取json文件时出错“已达到inotify实例数量的配置用户限制(128)”
解决方法:centos 7 参考配置:
For Linux:
Check current value ofmax_user_instances:
cat /proc/sys/fs/inotify/max_user_instances
用以下命令解决:
echo 256 > /proc/sys/fs/inotify/max_user_instances