且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

Logstash打开的文件太多?

更新时间:2023-11-22 12:14:52

你需要检查你的linux用户的文件句柄的极限是多少。您可以检查的地方是:

You need to check what's the limit of your file handle for your linux user. One place you could check is:

cat /etc/security/limits.conf

您定义硬和软限制的位置。另一种方法是使用ulimit命令,如下所示:

Where you define hard and soft limit. Another way would be to use ulimit command like below:

ulimit -a | grep nofiles ##Or ulimit -n