troubleshooting

How can I set the `--total-memory-bytes` flag for a RisingWave Compute Node in Kubernetes?

I'm using the Kubernetes operator for RisingWave and one of my Compute Nodes is failing with an error indicating that it's trying to use more memory than is available. The error message is:

2024-04-25T13:25:27.553289318Z ERROR risingwave_compute: error_msg="total_memory_bytes 6442450944 is larger than the total memory available bytes 4030173184 that can be acquired."

I need to set the --total-memory-bytes flag to limit the memory usage and prevent OutOfMemory errors, but I'm not sure how to do this with the Kubernetes operator. Can someone guide me on how to set this flag in my Kubernetes configuration?

Ne

Neil

Asked on Apr 25, 2024

I found out that I had set the resource requests for the compute nodes to be lower than the limit, which caused the node to be allocated to a Kubernetes node without enough memory. To resolve this, I'm going to set the requests equal to the limit to ensure that the compute node is scheduled on a Kubernetes node with sufficient memory.

Apr 25, 2024Edited by