Increase ulimit

To increase the maximum open files:

vi /etc/security/limits.conf
Add:
*               soft    nofile            50000
*               hard    nofile            60000

Change the statement that specifies the value of nofiles to 8000.

For immediate changes, type the below at linux shell:

ulimit -n 60000
ulimit -u 2048

For many applications, the below problem often occurs:

Too many open files

Increase limits will solve this error.

Be the first to comment

Leave a Reply

Your email address will not be published.


*