我无法通过/etc/security/limits.conf
来更改Linux Mint中打开文件的限制。
我当前的限制是4096
:
jjarzynski@mint:~$ ulimit -Hn
4096
我尝试在此处进行更改:
jjarzynski@mint:~$ cat /etc/security/limits.conf
# /etc/security/limits.conf
#
#Each line describes a limit for a user in the form:
#
#<domain> <type> <item> <value>
jjarzynski hard nofile 65535
jjarzynski soft nofile 65535
(...)
但是重新启动后,我仍然得到相同的值。 在Linux Mint中,它做了不同的事情吗?
我正在运行的发行版:
jjarzynski@mint:~$ cat /etc/*-release
DISTRIB_ID=LinuxMint
DISTRIB_RELEASE=19.3
DISTRIB_CODENAME=tricia
DISTRIB_DESCRIPTION="Linux Mint 19.3 Tricia"
NAME="Linux Mint"
VERSION="19.3 (Tricia)"
ID=linuxmint
ID_LIKE=ubuntu
PRETTY_NAME="Linux Mint 19.3"
VERSION_ID="19.3"
HOME_URL="https://www.linuxmint.com/"
SUPPORT_URL="https://forums.ubuntu.com/"
BUG_REPORT_URL="http://linuxmint-troubleshooting-guide.readthedocs.io/en/latest/"
PRIVACY_POLICY_URL="https://www.linuxmint.com/"
VERSION_CODENAME=tricia
UBUNTU_CODENAME=bionic