Unable to create new inotify object

一台proxmox新增加机器出错,系统提示如下错误信息:
Unable to create new inotify object: Too many open files at /usr/share/perl5/PVE/INotify.pm line 389.

解决办法:
sysctl fs.inotify.max_user_instances=512