wyzhou

[root@test ~]# su webapp
su: failed to execute /bin/bash: Resource temporarily unavailable

[root@test ~]# egrep -v "^$|^#" /etc/security/limits.d/20-nproc.conf
* soft nproc 4096
root soft nproc unlimited

[root@test ~]# vim  /etc/security/limits.d/20-nproc.conf
# Default limit for number of user\'s processes to prevent
# accidental fork bombs.
# See rhbz #432903 for reasoning.

* soft nproc 65535
root soft nproc unlimited


[root@test ~]# su webapp
[webapp@test root]$

分类:

技术点:

相关文章:

  • 2022-12-23
  • 2021-09-18
  • 2021-12-15
  • 2022-02-08
  • 2022-12-23
  • 2021-12-15
  • 2021-11-22
猜你喜欢
  • 2021-12-15
  • 2021-10-21
  • 2022-12-23
  • 2021-08-07
相关资源
相似解决方案