coroot-node-agent icon indicating copy to clipboard operation
coroot-node-agent copied to clipboard

Lost samples in file_events perf buffer due to buffer overflow in Coroot agent

Open emanzat opened this issue 1 year ago • 0 comments

Hello,

I've encountered an issue with lost samples in the Coroot agent logs related to file_events. The error message is as follows: E1031 13:21:00.155047 1512321 tracer.go:380] file_events lost samples: 18

It seems the perf buffer for file_events is unable to handle the current load, potentially due to high event frequency or insufficient buffer size

image

image

Suggested Solutions 1- Increase buffer size: Consider allowing the buffer size for file_events to be configurable, or increase the default buffer size to handle higher event volumes.

emanzat avatar Oct 31 '24 13:10 emanzat