-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
tail.0 paused (mem buf overlimit) #1903
Comments
@Mosibi Check out the recommendation here: #1768 (comment) I'm not sure if increasing |
Thanks for this pointer! Do you, or anybody else, know how I can see the current usage of the memory buffer. I would like for example to plot those in Grafana and alert when it's 100% in use. And are the any comments on logging the 'overlimit' messages on a warning level or another level that show the message when fluent-bit is configured to log on level info? Also because the 'overlimit' message can easily be missed when fluent-bit is debug level. |
AFAIK that is not possible. It's a very good idea though; do you want to open a separate issue for that feature request?
I think this is also a good idea. |
FYI: #1909 has been merged |
Fixed by #1909 |
How did changing the log level of the message change fluent-bit getting stuck? |
If Fluent Bit don't resume work is because is not able to flush the data (it respects your mem_buf_limit) |
Hi @Mosibi, am seeing warning messages in our environment like the following with FB version 1.15.3. Our Mem_Buf_Limit 5MB. Did it help increasing this buffer to fix you issues?
|
Yes it did, eventually I had it set to 512MB, just to have a upper limit we would not reach very soon. At the moment I do not use fluent-bit, because of other reasons I had to move to fluentd in that specific environment |
@Mosibi Thanks it worked for me |
I hit a similar problem by creating some large log files (100MB) with FB v1.7.9 released 4 days ago, and FB would stop processing never log files. |
I don't think this was the reason at all in my case, since the tail input plugin was stuck for a day. The output backend (Loki) was still working just fine. The buffer limit was only 5MB and there was no error message about disconnection. |
In my case, the fluent bit would not resume when it hits mem buf limit warning and followed by a pause. It precedes with |
same problem when run inside k8s, and fluent-bit pause to collect logs. fluent-bit v1.9.8.
the default buf is setting to 5MB,.
|
Bug Report
Describe the bug
We notice sometimes that logging is not processed anymore and putting FB in debug logging, revealed that FB sometimes pauses the logging input with the message "tail.0 paused (mem buf overlimit)" and continues when possible and then show the message "tail.0 resume (mem buf overlimit)"
In some situations, FB does not restart ingesting log at all and, the 'resume' message is not show, so the assumption is that somehow the buffer cannot be cleared.
Are there known situation where/when this can happen and it is possible to get metrics that show the current usage of mem_buf_limit?
To Reproduce
We are trying to figure out how to reproduce it.
Expected behavior
When logging is paused because of a buffer that is over limit, I want to see it in the regular log. Now we had to put FB in debug mode to see this message.
Screenshots
Your Environment
The text was updated successfully, but these errors were encountered: