Limited Time Offer - from £0.99/month
00
DAYS
22
HOURS
54
MINUTES
35
SECONDS
Get Started
×

Knowledge base

Find articles and information about all features, troubleshooting guides,
and other technical information on Hostinger's hosting 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 :)

  • Easy Website Builder
  • 99.9% Uptime Guarantee
  • 24/7 Live Support
  • Powerful Control Panel
  • 30-Days Money-Back Guarantee
Limited Time Special Offer!
From
£
0
99
/mo
Save 90%
Get it!