The officially official Devuan Forum!

You are not logged in.

#1 Other Issues » Unable to set the value “nofile” in /etc/security/limits.conf » 2025-04-16 18:31:17

Xellcom3000
Replies: 1

Hello guys, I am having a problem getting the system to allow me to change this value. Every time I type the command ulimit -Hn in the terminal it shows me 4096, and I modified the file /etc/security/limits.conf adding this line: username hard nofile 524288, but nothing happens, every time I reboot the PC and type the command ulimit -Hn in the terminal the value stays at 4096, I also added this line: session required pam_limits.so in these two files: /etc/pam.d/common-session and /etc/pam.d/common-session-noninteractive, what should I do in this situation?

Board footer

Forum Software