Langfuse deployment issue on k8 #4056
Replies: 4 comments 2 replies
-
The issue you're experiencing with the Langfuse pod on Kubernetes continuously exiting and restarting with an OOMKilled status is likely due to the pod exceeding its memory limits. Here are some steps you can take to resolve this:
By increasing the memory limits and optimizing the configuration, you should be able to prevent the Langfuse pod from being OOMKilled [1]. |
Beta Was this translation helpful? Give feedback.
-
@hrone-dev-satyammishra Thank you for your issue report. I have a couple of questions based on your report that would help me understand what the root cause might be:
My take is that it's most likely the first point and setting requests.memory = limits.memory may help here. We recommend at least 3 GB of RAM for the langfuse pod as documented in our self-hoster documentation. |
Beta Was this translation helpful? Give feedback.
-
Hi @Steffen911 , I am using Azure Kubernetes Services and the node size is Standard_D2s_v3 ( 2 vCPUs & 8 GiB memory). |
Beta Was this translation helpful? Give feedback.
-
Langfuse deployment on Kubernetes: The Langfuse pod continuously exits and restarts.
During each restart, it attempts to run a migration script but seems to get stuck in a loop, repeatedly executing the same migration steps without completing. Meanwhile, the Postgres pod is functioning normally, but the Langfuse pod faces persistent issues with this restart cycle.
Beta Was this translation helpful? Give feedback.
All reactions