Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fluent-bit version 1.9.6 [ Error] timerfd: Too many open files, errno=24 at /__w/1/s/external/fluent-bit/lib/monkey/mk_core/mk_event_epoll.c:208 #8816

Open
NarineM opened this issue May 10, 2024 · 3 comments

Comments

@NarineM
Copy link

NarineM commented May 10, 2024

Bug Report

Describe the bug
fluent-bit fails with these errors randomly. In result tail plugin that monitors log files on the machine does not work.

  • Example log message if applicable:
Apr 28 01:00:55 [2633351]: [log] error opening log file /var/opt/testapp/log/fluentbit.log. Using stderr.
Apr 28 01:00:55 [2633351]: [2024/04/28 01:00:55] [  Error] timerfd: Too many open files, errno=24 at /__w/1/s/external/fluent-bit/lib/monkey/mk_core/mk_event_epoll.c:208
Apr 28 01:00:55 [2633351]: [2024/04/28 01:00:55] [error] [input collector] COLLECT_TIME registration failed
Apr 28 01:00:55 [2633351]: [log] error opening log file /var/opt/testapp/log/fluentbit.log. Using stderr.
Apr 28 01:00:55 [2633351]: [2024/04/28 01:00:55] [error] [input collector] COLLECT_TIME registration failed
Apr 28 01:00:55 j[2633351]: [2024/04/28 01:00:55] [  Error] timerfd: Too many open files, errno=24 at /__w/1/s/external/fluent-bit/lib/monkey/mk_core/mk_event_epoll.c:208
Apr 28 01:00:55 [2633351]: [log] error opening log file /var/opt/testapp/log/fluentbit.log. Using stderr.

  • Steps to reproduce the problem:
    In my configuration fluent config has about 70 tail plugin configurations with each config monitoring one log file.
    Fluent-bit version 1.9.6

Expected behavior
no error , tail working as expected

  • Version used: 1.9.6
  • Configuration:
  • Environment name and version (e.g. Kubernetes? What version?):
  • Server type and version:
  • Operating System and version: Ubuntu 22.04
  • Filters and plugins: tail

Additional context
Need some workaround as in this setup fluent does not collect any logs.

@agup006
Copy link
Member

agup006 commented May 17, 2024

Hi @NarineM could you check with the latest fluent bit? 1.9.x is no longer maintained

@NarineM
Copy link
Author

NarineM commented May 22, 2024

@agup006 thanks for your response. What major version you recommend as known stable version ? Is this issue known to be fixed in versions 3? or starting 2.* ? newer version of fluent have been reported with cve: [A memory corruption vulnerability in Fluent Bit versions... · CVE-2024-4323 ·, see here: https://github.com/advisories/GHSA-68mr-468g-4wmg
Given this, do you know what version of fluent is not impacted by CVE but this issue with too many open files is fixed or not longer seen?

@NarineM
Copy link
Author

NarineM commented May 22, 2024

Similar to #1777

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants