Has anyone experienced issues with memory overcommit in web app deployments?

0
6
Asked By TechyExplorer42 On

I'm running about 100 Kubernetes pods with five different Python web applications spread across multiple nodes. I encounter roughly 15 OOM (Out Of Memory) kills each day, but I can't pinpoint the cause since there aren't obvious mistakes in the resource limits. To tackle this unpredictability in memory usage, I'm considering disabling memory overcommit. I wonder if this could lead to any unexpected issues. Has anyone tried this approach in their setups?

3 Answers

Answered By CloudGuru75 On

It’s generally better to keep CPU overcommit rather than memory. Limiting CPU can lead to underutilization, so tread carefully there.

Answered By K8sNerd18 On

Have you checked the resource quotas in your Kubernetes cluster? They might be set too aggressively, which could be a factor in your OOM kills.

Answered By ResourceWizard99 On

Before jumping into disabling memory overcommit, I'd suggest getting to the root of the problem. You might have a memory leak somewhere or you need to allocate more memory in your containers for both the OS and the app. What diagnostics have you run so far?

Related Questions

LEAVE A REPLY

Please enter your comment!
Please enter your name here

This site uses Akismet to reduce spam. Learn how your comment data is processed.