We have a cluster with three m5.large servers and ...
# troubleshooting
j
We have a cluster with three m5.large servers and one ~2GB realtime table. Memory usage on the servers was ~40% then jumped to 80% memory usage for reasons unknown. Paused table consumption but had no effect on memory usage. Restarted the pinot processes and the memory usage dropped to 20%. Has anyone seen this before?
m
Is this Java heap or total memory? Do you have upserts?
Upserts, and inv/range index for consuming segments use Java heap.
j
It's total memory used on the EC2 instance
Screenshot 2025-02-06 at 2.49.00 PM.png
We don't have upserts configured
m
Is it saw tooth pattern where it comes down?
j
Remained constant
m
I typically see that with k8s, used memory is very close to requested, but that doesn’t match what top says
I feel there is some accounting difference with mmap
j
We have very spiky CPU usage
m
Sure. I am referring to memory - esp total memory used
If your jvm heap is behaving well, and top says total memory usage is fine, it is likely fine