Linux issue "Too many open files (error code 24)"

The Knowledgebase provides a database of answers to many Technical questions.

Linux issue "Too many open files (error code 24)"

Postby FTP » Fri Jun 21, 2019 4:15 pm

When you have large traffics, maybe you will encounter the issue "Too many open files (error code 24)". For the Linux system, you can try the following method to solve it:

1. Edit the file "/etc/sysctl.conf" and add the lines:

fs.file-max = 655350


2. Edit the file "/etc/security/limits.conf" and add the lines:

* soft nofile 655350
* hard nofile 655350


3. Restart the Linux system.
FTP
Site Admin
 
1668
 
Tue Sep 29, 2009 6:09 am

Return to Knowledgebase

Who is online

Users browsing this forum: No registered users and 1 guest