diff options
author | Andreas Fankhauser hiddenalpha.ch | 2023-11-21 15:44:48 +0100 |
---|---|---|
committer | Andreas Fankhauser hiddenalpha.ch | 2023-11-21 15:44:48 +0100 |
commit | 5d205503c56ccb2a4991670dae5359bbd41f4f72 (patch) | |
tree | 0721dd8e08b0a1bb88e4fda058e10cf0dac3d7f0 | |
parent | cd3753a465bf08e754a6d27eb81d6031c15a1df3 (diff) | |
download | UnspecifiedGarbage-5d205503c56ccb2a4991670dae5359bbd41f4f72.zip UnspecifiedGarbage-5d205503c56ccb2a4991670dae5359bbd41f4f72.tar.gz |
Update notes about OOM analysis.
-rw-r--r-- | doc/note/links/links.txt | 3 | ||||
-rw-r--r-- | doc/note/openshift/dbg-mem-issues.txt | 15 |
2 files changed, 18 insertions, 0 deletions
diff --git a/doc/note/links/links.txt b/doc/note/links/links.txt index 20eb16b..ab09e60 100644 --- a/doc/note/links/links.txt +++ b/doc/note/links/links.txt @@ -547,3 +547,6 @@ Links (Aka argument amplifiers) ## Git paisa complain about rebase stuff - [Complain about force-pushes](https://gitit.post.ch/projects/ISA/repos/lazlar/pull-requests/3/overview?commentId=311142) +## Angular is terrible +- [Why angular sucks](https://medium.com/dirtyjs/why-angular-2-4-5-6-sucks-afb36567ad68) + diff --git a/doc/note/openshift/dbg-mem-issues.txt b/doc/note/openshift/dbg-mem-issues.txt index bf402e6..07baaff 100644 --- a/doc/note/openshift/dbg-mem-issues.txt +++ b/doc/note/openshift/dbg-mem-issues.txt @@ -52,6 +52,21 @@ true `# log JMX stuff` \ && sleep $(expr 14400 - \( $(date +%s) % 14400 \)) || break; done \ && true) + +`# Create heap dump` +com.sun.management.dumpHeap("/usr/local/vertx/houston-storage-file/houston-___-heap-2023____-____Z.hprof", true) + +`# Inspect` +ocprod exec -i "$(ocprod get pods|egrep ston-[1-9]|cut -f1 -d' ')" -- sh -c 'cd /usr/local/vertx/houston-storage-file && ls -Ahl' + +true `# Get made heap dump` \ + && echo create checksum. \ + && ocprod exec -i "$(ocprod get pods|egrep ston-[1-9]|cut -f1 -d' ')" -- sh -c 'cd /usr/local/vertx/houston-storage-file && md5sum -b houston-*.hprof >> MD5SUM-$(date -u +%Y%m%d-%H%M%SZ)' \ + && echo checksum done. Begin dload. \ + && ocprod exec -i "$(ocprod get pods|egrep ston-[1-9]|cut -f1 -d' ')" -- sh -c 'cd /usr/local/vertx/houston-storage-file && tar c houston-*.hprof MD5SUM*' | (cd heapDump && tar x) \ + && echo dload done \ + && true + true \ && ONE="houston-prod-pmap-20231102-163425.txt" \ && TWO="houston-prod-pmap-20231103-074301.txt" \ |