Proxmox下修改limits

/ 0评 / 0

我们都知道在lxc下涉及到核心的东西都不允许修改的,那怎么办呢?我们只能修改母鸡了。

修改文件之前,记得备份...记得备份...记得备份...

vi /etc/security/limits.conf

#最后一行加入,然后保存重启!
* soft nproc 65535
* hard nproc 65535
* soft nofile 65535
* hard nofile 65535

发表评论

邮箱地址不会被公开。 必填项已用*标注