已达到 inotify 监视限制

已达到 inotify 监视限制

当我尝试重新启动 smbd 时,我收到以下消息。我知道 inotify 与监视文件系统中的更改有关,但我不确定从哪里开始排除故障或诊断此问题。有人能给我指出正确的方向吗?

$ sudo systemctl restart smbd.service
Failed to add a watch for /run/systemd/ask-password: inotify watch limit reached

我还检查了以下我认为相关的内容:

$ cat /proc/sys/fs/inotify/max_user_watches
8192

提前感谢您的任何帮助。

相关内容