Baza de cunoștințe

Găseşte articole despre caracteristici, ghiduri de depanare,
şi alte informaţii tehnice referitoare la serviciile de găzduire Hostinger.

How to resolve "Too Many Open Files" error?

Modificat la:
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 :)

  • Sitebuilder ușor de folosit
  • 99.9% uptime garantat
  • 24/7 asistenţă live
  • Panou de control puternic
  • 30 de zile banii înapoi garantat
Oferta specială este valabilă pentru un timp limitat!
De la
0
69
/lună
Economiseşte 90%
Începe