新年优惠 降价82%
00
16
21
56

How to resolve "Too Many Open Files" error?

引用:
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 :)

  • 不限制搭建网站个数
  • 24/7 在线支持
  • 简单易用的建站助手
  • 2倍的WordPress 优化速度
  • 30天退款保证
赶上限时优惠!
低至
8
55
CNH
/月
节省 82%
开始