Skip to content

Instantly share code, notes, and snippets.

@pryorda
Created September 18, 2024 20:20
Show Gist options
  • Save pryorda/619612f3b1dc041e9264de56ae5d85f7 to your computer and use it in GitHub Desktop.
Save pryorda/619612f3b1dc041e9264de56ae5d85f7 to your computer and use it in GitHub Desktop.
Akami dotnet memory dump

kubectl exec -it "pod/alk-svc-rpc-issoproviderscontract-v1-69fd5f57f9-bb7mj" -n red24 -- sh

/app $ cd dump /app/dump $ dotnet-dump collect -p 1

Writing full to /app/dump/core_20231026_191214 Complete /app/dump $ ls core_20231026_191214 /app/dump $ gzip core_20231026_191214

kubectl cp "alk-svc-rpc-issoproviderscontract-v1-69fd5f57f9-bb7mj:/app/dump/core_20231026_191214.gz" ./core_20231026_191214.gz -n red24

/app $ cd dump /app/dump $ dotnet-dump collect -p 1

Writing full to Complete /app/dump $

kubectl --context prod-shareA-use1 cp -c alk-svc-rest-core-ibs-v2-container -n pod31 alk-svc-rest-core-ibs-v2-6c5d988659-2bs95:/app/dump/core_20240918_192521.gz . kubectl --context prod-shareA-use1 cp -c alk-svc-rest-core-ibs-v2-container -n pod31 alk-svc-rest-core-ibs-v2-6c5d988659-gvrrp:/app/dump/core_20240918_192725.gz .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment