LXC:開啟太多LXC 遇到 inotify limits 解法

LXC:Unable to create new inotify object: Too many open files at /usr/share/perl5/PVE/INotify.pm line 390 解法

修改:

sysctl fs.inotify.max_user_instances=10240
or
nano /etc/sysctl.conf
fs.inotify.max_user_watches = 10240
fs.inotify.max_user_instances = 10240

數值:256/512/1024/2048/4096/8192

相關討論:

https://github.com/moby/moby/issues/1044

https://forum.proxmox.com/threads/unable-to-create-new-inotify-object-too-many-open-files-at-usr-share-perl5.23700/

阅读剩余
THE END