当前位置:网站首页>sudo: ulimit: command not found

sudo: ulimit: command not found

2022-06-25 12:23:00 lihongbao80

Temporarily modify a user ( Not root) Maximum number of open files

sudo sh -c "ulimit -n 65535 && exec su $LOGNAME"

Permanent modification

edit sudo vim /etc/security/limits.conf file

*   soft    nofile   1020000
*   hard  nofile 102000

The user is called * It means that all users

原网站

版权声明
本文为[lihongbao80]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/02/202202200534500405.html

随机推荐