Knowledge Base
MilesWeb / How-Tos

How to Deal with “Too Many Open Files” Error?

Approx. read time : 1 min

Is your script, application, or command getting an error as “Too many open files”? Then you have reached the max open file limit allowed by Linux. For resolving this issue, you need to increase the open file limit as shown below:

Open the below file:

Paste the below text towards the end:

After you save the file, logout, and login again.

With this simple change, the limit on open files will get increased.

Pallavi Godse
Pallavi is a Digital Marketing Executive at MilesWeb and has an experience of over 4 years in content development. She is interested in writing engaging content on business, technology, web hosting and other topics related to information technology.