Closed Sallyan closed 3 years ago
The memory usage increased from MB to Gi when changes from in-memory storage to badge.
I think this isn't related to the operator, but more general to Jaeger and its usage of Badger.
We have a few changes in the queue for badger as storage for Jaeger, but it might take a while for us to work on it. If this is critical to you, I can point you to the places in the code for you to take a look at.
we really want to have persistent data for the tracing. Do you have any suggestion or kind of wordaround for Badger? Yeah, please also point me the code. Thanks!
we really want to have persistent data for the tracing.
You can use Cassandra or Elasticsearch for that, which are actually recommended if you need to scale your deployment...
In any case, here's the badger code: https://github.com/jaegertracing/jaeger/tree/master/plugin/storage/badger
This should have been fixed by #3096. If you are still experiencing this, feel free to reopen.
I still have this behavior with all in one image v1.49, weird thing is the OOM happens at startup with no load at all (probably when badger is getting reopened).
Edit: it seems /keys are not evicted whereas /data is almost empty:
12G /opt/jaeger-badger/key
16K /opt/jaeger-badger/data
Mystery solved: spring-boot with hikari+sleuth will trigger spans even for connection.isValid()
which lead to filling badger too quickly if timeout and pool size are high enough, sorry for the noise.
version: all-in-one:1.18.1 issue: when i use badge as storage, Jaeger requests much more memory than in-memory storage and it keeps OOMKiller. At the beginning Jaeger requests just hundred MB memory when it uses in-memory storage. But it requests over 5Gi memory when changed to Badge. Jaeger yaml: