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 #使修改后文件生效

相关文章:

  • 2022-01-08
  • 2021-07-24
  • 2022-12-23
  • 2022-12-23
  • 2021-07-03
  • 2021-05-31
  • 2022-02-09
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-10-10
  • 2021-07-21
  • 2022-12-23
  • 2019-12-11
  • 2022-12-23
相关资源
相似解决方案