美文网首页
ubuntu 18.04 increase max nu op

ubuntu 18.04 increase max nu op

作者: siyongshuai | 来源:发表于2019-03-29 13:46 被阅读0次

    edit user.conf and system.conf

    added this line to /etc/systemd/user.conf  and /etc/systemd/system.conf

    DefaultLimitNOFILE=65536

    Change /etc/security/limits.conf

    * hard nofile 65536

    * soft nofile 65536

    edit  /etc/pam.d/common-session

    added this line to /etc/pam.d/common-session and /etc/pam.d/common-session-noninteractive:

    session required pam_limits.so

    相关文章

      网友评论

          本文标题:ubuntu 18.04 increase max nu op

          本文链接:https://www.haomeiwen.com/subject/omjlbqtx.html