linux limite资源限制 万能设置

linux资源限制 万能设置

/etc/security/limits.conf

* soft core unlimited
* hard core unlimited
* soft nproc 1000000
* hard nproc 1000000
* soft nofile 1000000
* hard nofile 1000000
* soft memlock 32000
* hard memlock 32000
* soft msgqueue 8192000
* hard msgqueue 8192000

  在Ubuntu下 不能用* ,代表所有用户,只能写具体用户,centos可以用*

猜你喜欢

转载自www.cnblogs.com/hxfcodelife/p/13382884.html