Ubuntu 18.04 LTS maximum number of file handles

Modify the following line in /etc/systemd/user.conf and /etc/systemd/system.conf (this will handle graphical login):
        DefaultLimitNOFILE=65535

Modify the following lines in /etc/security/limits.conf (this will handle non-graphical logins):
        * soft nofile 65535

        * hard nofile 65535

To restart the system!
 

Guess you like

Origin blog.csdn.net/yhjahjj1314/article/details/125720741