You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When an exporter has a sending_queue.sizer=bytes and sending_queue.batch.max_size, and one single telemetry data is bigger than sending_queue.batch.max_size, then it starts to consume memory indefinitely, and eventually the collector is OOMKilled.
Steps to reproduce
Set up a collector's configuration with an exporter that supports exporterhelper and include the following configuration.
sending_queue:
sizer: bytesbatch:
max_size: 10
Then run a collector and send telemetry data. For example, send a trace data by telemetrygen traces --otlp-insecure --traces 1 to OTLP receiver.
What did you expect to see?
Telemetry data should be dropped and output error logs.
What did you see instead?
I couldn't see anything. But CPU usages and memory usages increase, and the process is eventually OOM Killed.
I saw otelcol-dev process was OOMKilled by dmesg.
Component(s)
exporter/exporterhelper
What happened?
Describe the bug
When an exporter has a
sending_queue.sizer=bytes
andsending_queue.batch.max_size
, and one single telemetry data is bigger thansending_queue.batch.max_size
, then it starts to consume memory indefinitely, and eventually the collector is OOMKilled.Steps to reproduce
Set up a collector's configuration with an exporter that supports exporterhelper and include the following configuration.
Then run a collector and send telemetry data. For example, send a trace data by
telemetrygen traces --otlp-insecure --traces 1
to OTLP receiver.What did you expect to see?
Telemetry data should be dropped and output error logs.
What did you see instead?
I couldn't see anything. But CPU usages and memory usages increase, and the process is eventually OOM Killed.
I saw
otelcol-dev
process was OOMKilled bydmesg
.Collector version
v0.124.0
Environment information
Environment
OS: Ubuntu 24.04
Compiler: go1.24.1, ocb: v0.124.0
OpenTelemetry Collector configuration
Log output
Additional context
No response
The text was updated successfully, but these errors were encountered: