Permanently Increasing User Limits
It is also possible to permanently increase the user limits by editing the relevant configuration file. This configuration file can usually be found in /etc/security/limits.conf.
user soft nofile 250000
user hard nofile 250000
user soft nproc 10000
user hard nproc 10000