Answer the question
In order to leave comments, you need to log in
How to diagnose OOM dotnet applications in a container?
There is a dotnet service in a container built on the basis
of mcr.microsoft.com/dotnet/aspnet:6.0
The service is launched in k8s and regularly crashes with OOM, and not just crashes, but explodes with 30% of memory usage immediately in OOM, no matter what limits you set for it
What Is there a way to create a dump in such a case?
Answer the question
In order to leave comments, you need to log in
1. Is it possible to run this service first without a container and see what happens on the local machine?
https://docs.microsoft.com/en-us/dotnet/core/diagn...
2. Usually such an explosion is preceded by some logs - run dotnet in diag mode: dotnet run --diagnostics. Containers, even dead ones leave some logs
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question