Dotnet8运行新问题-he configured user limit (128) on the number of inotify instances has been reached

问题现象:

  System.IO.IOException: The configured user limit (128) on the number of inotify instances has been reached, or the per-process limit on the number of open file descriptors has been reached

        

 解决办法:  

  修改配置:

  sudo vim /etc/sysctl.conf
  fs.inotify.max_user_watches=104857600
  fs.inotify.max_user_instances = 1024

执行更改:

  sudo sysctl -p

经验证Ok

 
posted @ 2024-03-23 23:22  李文学  阅读(85)  评论(0编辑  收藏  举报