What does “soft/hard nofile” mean on Linux

前端 未结 3 1194
清酒与你
清酒与你 2021-02-01 19:58

When I tried to install a software on RedHat EL5, I got the error that the expected value of soft/hard nofile is 4096 while the default is 1024. I managed to increase the number

3条回答
  •  执念已碎
    2021-02-01 20:15

    No reboot is required, but /etc/security/limits.conf is only processed when /lib/security/pam_limits.so runs, which is at login time, and the values are inherited by child processes. After a new login, anything under that login will inherit the values specified.

提交回复
热议问题