the soft limit freely in the range of 0….
Root
You must be root to increase the hard limit from its default value with the help of a configuration file such as: limits.conf.Example for the user obi:
obi                 soft    nofile  1024
obi                 hard    nofile  10240

To see the hard limit values, run “ulimit -H -a”.Some Linux distributions have PAM modules (pam_limit.so) that can adjust the limit values at login time.