Originally Posted by thomas2004ch
I will increase the number of 'open file' for root from default (1024) to 5000. I did first as follow:
Seems working. But as I login again the number returns to 1024. It seems in this way the number cannot be changed permanently.
Then I try edit the /etc/security/limits.conf as follow:
#<domain> <type> <item> <value>
root - nofile 5000
But it doesn't work. The number is still 1024 as I list it with ulimit -a
Someone has idea?
If using bash, set this in the .bash_profile assuming it is for a certain user.
If system wide, set in /etc/profile.
After setting in either of those files the activate it.
source .bash_profile or /etc/profile
then logout and back in again to test