You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
changing pulsar image (tried variants of 3.0.0, 3.0.2, default)
setting resource limits for proxy (caused OOM kills, as expected)
setting higher requests for proxy
disabling just the websocket - this led to halving the memory usage (now only 2GB)!
I then did a vanilla deployment of Pulsar via the official Pulsar Helm Chart. This used ~200mb of memory. I compared the configmaps between this and the KAAP proxy, and noticed that the KAAP doesn't specify many JVM settings, especially w/r to the GC.
I set these explicitly in the config for the proxy with the values I saw in the official Pulsar instance. The resulting proxy instances exhibit normal memory consumption (~345Mb).
I saw that these were set in the past, but were removed in this commit, for reasonable reasons. My experience, and the fact that they are still explicitly set by the Pulsar devs may be a good reason to persist them...
If I can help triage this further, please let me know.
Environment
Azure Kubernetes Cluster (AKS)
kubectl v 1.28
k8s v: v1.25 (<< slightly behind, but don't expect this to matter here?)
-s
The text was updated successfully, but these errors were encountered:
Hi guys,
Issue: Extremely high memory usage by the pulsar-proxy pods (4GB for proxy+websocket containers at idle)
Steps to reproduce:
Fixes attempted
I then did a vanilla deployment of Pulsar via the official Pulsar Helm Chart. This used ~200mb of memory. I compared the configmaps between this and the KAAP proxy, and noticed that the KAAP doesn't specify many JVM settings, especially w/r to the GC.
I set these explicitly in the config for the proxy with the values I saw in the official Pulsar instance. The resulting proxy instances exhibit normal memory consumption (~345Mb).
What I added was the config section was:
I saw that these were set in the past, but were removed in this commit, for reasonable reasons. My experience, and the fact that they are still explicitly set by the Pulsar devs may be a good reason to persist them...
If I can help triage this further, please let me know.
Environment
-s
The text was updated successfully, but these errors were encountered: