-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Store heap dump in a persistence volume #68
Conversation
ping @vpavlin |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks sane
Mentioned in a discussion with Den Hall:
That means we need to increase the size of the persistence volume from 1GB to 4GB |
Sure, but not in our case. We have to learn what is causing mem leak here. Is there an issue with such "big" PV? Maybe we could think of publishing a dump somewhere before killing the container instead? We only need that internally for the analysis. |
openshift/keycloak.app.yaml
Outdated
-Djboss.modules.system.pkgs=org.jboss.byteman | ||
-Djava.awt.headless=true | ||
restartPolicy: Always | ||
securityContext: {} | ||
terminationGracePeriodSeconds: 30 | ||
dnsPolicy: ClusterFirst | ||
volumes: | ||
- name: heapdumppath |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why heapdumppath
- maybe simply heapdumps
? :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yep, heapdumps
sounds better for me too
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As an intermediate solution, this looks good to me. I would like however to explore the possibility to use hooks and transport those dumps to single location instead of growing PVs and thus our env limits.
[test] |
…ore_heap_dump Conflicts: openshift/keycloak.app.yaml
[test] |
i am going to merge this PR |
related to: #61