-
Notifications
You must be signed in to change notification settings - Fork 323
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
too many open files #1099
Comments
It could be caused by |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions! |
Thanks for reporting this and sorry for the late reply. If I remember correctly previously fluentd used 256M for memory buffers by default (or at least it was the case in some old versions), which caused OOM issues, that was the reason why we did this: I beleive we can remove this explicit default and rely on the fluentd settings if we can verify our supported fluentd images now does it correctly. Scheduling this to the next minor release. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions! |
According to the docs, the chunk_limit_size is now smarter as it uses 8MB for memory and 256MB for file buffers by default: We can remove our default setting to rely on fluentd's settings. |
This is my issue. I have 2 node in k8s.
Here are my settings:
|
Thanks but I fixed it. I created another daemonset and set up the information below
|
@giakinh0823 These last two comments are unrelated to the original issue topic (fluentd vs fluentbit), could you please create a separate issue for that? |
We're getting
too many open files
error in few clusters with image ghcr.io/banzaicloud/fluentd:v1.14.5-alpine-1 and higher.It happens randomly and I can't provide any conditions, but could you please check the following PR fluent/fluentd#3844. It was fixed in 1.15.2 release.
Now we have downgraded fluentd to ghcr.io/banzaicloud/fluentd:v1.14.4-alpine-2 and all is okay with this version (but I'm not sure because as I mentioned above it happens randomly and not all clusters have this error)
Environment details:
/kind bug
The text was updated successfully, but these errors were encountered: