How to set nofile (open files) for a normal user
Hello, I have a weird issue, I have tried to setup "nofile" in /etc/security/limits.conf for a normal user from 1024 to 4096.
I have tried in different ways and still doesnt work: user - nofile 4096 user hard nofile 4096 user soft nofile 4096 @user - nofile 4096 @user hard nofile 4096 @user soft nofile 4096 %user - nofile 4096 %user hard nofile 4096 %user soft nofile 4096 None of this settings work. I still have 1024 on that user. If i check like this there is 4096: su - user -c 'ulimit -a', everything seems ok, but if i login with that user and run ulimit -a, the open file settings is still at 1024. Does anyone know whats the deal? Or the issue? |
All times are GMT -5. The time now is 09:26 PM. |