centos 6.x 版本怎么修改
更新:HHH   时间:2023-1-7


本篇内容介绍了“centos 6.x 版本怎么修改”的有关知识,在实际案例的操作过程中,不少人都会遇到这样的困境,接下来就让小编带领大家学习一下如何处理这些情况吧!希望大家仔细阅读,能够学有所成!

[root@test ~]# ll /etc/security/limits.d/
总用量 8
-rw-r--r--. 1 root root 226 9月  10 18:53 90-nproc.conf
-rw-r--r--. 1 root root 230 7月   7 2017 cloudera-scm.conf
[root@test ~]# ll /etc/security/limits.d/90-nproc.conf 
-rw-r--r--. 1 root root 226 9月  10 18:53 /etc/security/limits.d/90-nproc.conf
[root@test ~]# vi /etc/security/limits.d/90-nproc.conf
# Default limit for number of user's processes to prevent
# accidental fork bombs.
# See rhbz #432903 for reasoning.

*          soft    nproc     1024
root       soft    nproc     unlimited
testuser   soft    nproc     65535  ## 限制用户为最大进程数为65535
~

“centos 6.x 版本怎么修改”的内容就介绍到这里了,感谢大家的阅读。如果想了解更多行业相关的知识可以关注天达云网站,小编将为大家输出更多高质量的实用文章!

返回大数据教程...