maillog报错Warning: Inotify instance limit

简介:

mail日志提示警告信息:

Jan 26 10:48:40 hlt2 dovecot: imap(test@test.com): Warning: Inotify instance limit for user 9006 (UID kkmail) exceeded, disabling. Increase /proc/sys/fs/inotify/max_user_instances


解决办法:

1、确认默认设置信息。

cat /proc/sys/fs/inotify/max_user_instances 
128


2、vi /etc/sysctl.conf 更改大点,没有就添加这两行。

fs.inotify.max_user_watches = 4096
fs.inotify.max_user_instances = 4096


3、执行以下命令让内核文件生效。

sysctl -p

最好dovecot也重启下,然后再查看文件看看。




本文转自 sailikung 51CTO博客,原文链接:http://blog.51cto.com/net881004/2065482,如需转载请自行联系原作者
相关文章
|
7月前
|
关系型数据库 MySQL 数据库
Mysql-错误处理: Found option without preceding group in config file
Mysql-错误处理: Found option without preceding group in config file
801 0
Install fail! Error: EBUSY: resource busy or locked, symlink
Install fail! Error: EBUSY: resource busy or locked, symlink
117 0
|
关系型数据库 MySQL 数据库
ERROR! MariaDB is running but PID file could not be found
在CentOS7.6上安装了MariaDB10.3,采用的yum方式安装的,用命令查看数据库的状态会报错误
163 0
configure: error: SELinux selected but libselinux not found
configure: error: SELinux selected but libselinux not found
109 0
|
Java Android开发
is not allowed for source level below 1.7 的解决办法
is not allowed for source level below 1.7 的解决办法
192 0
rac安装报错“ Checking swap space 0 MB available, 150 MB required. Failed”
rac安装报错“ Checking swap space 0 MB available, 150 MB required. Failed”
849 0
|
监控
tailf报错limit of inotify watches was reached
tailf报错limit of inotify watches was reached
3540 0
|
存储 NoSQL Linux
redis异常 Commands that may modify the data set are disabled, because this instance is
MISCONF Redis配置为保存RDB快照,但目前无法在磁盘上持久化。可能修改数据集的命令被禁用,因为该实例被配置为在RDB快照失败时报告错误(stop-write -on-bgsave-error选项)。请检查Redis的日志RDB错误的详细信息.
redis异常 Commands that may modify the data set are disabled, because this instance is