当前位置: 首页 > 工具软件 > limiton > 使用案例 >

解决 .NET COER 报 the configured user limit (128) on the number of inotify instances has been reached异常

高夜洛
2023-12-01

异常 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

increase that value:

$ echo 256 > /proc/sys/fs/inotify/max_user_instances

In order to make that change permanent add a line to/etc/sysctl.conf:

fs.inotify.max_user_instances = 256

 类似资料: