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可以用*

相关文章:

  • 2021-04-02
  • 2022-01-24
  • 2021-07-15
  • 2021-08-02
  • 2021-09-06
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-07-11
  • 2021-09-02
  • 2021-06-10
  • 2021-08-25
  • 2022-01-02
  • 2021-09-07
  • 2022-01-01
相关资源
相似解决方案