Add a file in /etc/security/limits.d/, say nofile.conf
* soft nofile 1024
* hard nofile 65535
Edit /etc/pam.d/login, adding the line:
session required pam_limits.so
we can change the open limit by:
unlimt -n 10000
This entry
is filed under Lang Code.
You can follow any responses to this entry through the RSS 2.0 feed.
You can leave a response, or trackback from your own site.