logo

Cyber Sale

  •  99.9% Uptime
  •  Free SSL Certificate
  •  24/7 Live Support
  •  30-Days Money-Back Guarantee
Get Started

Up To

90

%

OFF

00
DAYS
04
HOURS
31
MINUTES
56
SECONDS
Cyber Sale: Best Web Hosting
From ₹45.00 /Month!
See All Deals
×

Hostinger's Knowledge Base

Find articles and information about features, various troubleshooting guides,
and other technical information related to the Hostinger's services

How to resolve "Too Many Open Files" error?

Modified on:
Too Many Open Filesinode vps inodes open files too many

If your application, script or command are getting error “Too many open files” then you are hitting max open file limit allowed by Linux. You need to increase open file limit as shown below:

Please open file:
/etc/security/limits.conf

Paste following text towards the end:

*         hard    nofile      500000
*         soft    nofile      500000
root      hard    nofile      500000
root      soft    nofile      500000

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

This simple change will increase the limit on open files :)