the configured user limit (128) on the number of inotify instances has been reached

Posted lidezhen

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了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)”
解决方法:

临时:
$ 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的主要内容,如果未能解决你的问题,请参考以下文章

Android Programming: Pushing the Limits -- Chapter 4: Android User Experience and Interface Design(示

entrypoint size limit: The following entrypoint(s) combined asset size exceeds the recommended limit

Hadoop HDFS: the directory item limit is exceed: limit=1048576问题的解决

Intellij IDEA中file size exceeds configured limit解决

The Apache how to limit the visitor’s IP

IDEA 源代码文件大小超出 2.56M : File size exceeds configured limit