Add Memory Limiter in Kelvin #471
Labels
area/query
kind/feature
New feature or request
priority/important-soon
Must be staffed and worked on either currently, or very soon, ideally in time for the next release.
triage/accepted
Indicates an issue or PR is ready to be actively worked on.
Is your feature request related to a problem? Please describe.
Some users are applying a memory limit on Kelvin to avoid memory spikes when running large queries. Using the K8s memory limit will cause the Kelvin to OOMKill when it does run these larger queries. This can make it appear that the Pixie deployment is unstable.
Describe the solution you'd like
Rather than trying to process all incoming data from the PEMs, Kelvin should respect the memory limit and only process results up to what it can fit in memory. This will prevent the Kelvin from OOMKilling. In the future we should also show a warning message to inform users they are not seeing the full results.
The text was updated successfully, but these errors were encountered: