Skip to content
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

container-to-container dump retrieval #12

Closed
josalem opened this issue Oct 16, 2020 · 1 comment
Closed

container-to-container dump retrieval #12

josalem opened this issue Oct 16, 2020 · 1 comment
Milestone

Comments

@josalem
Copy link
Contributor

josalem commented Oct 16, 2020

dotnet-monitor always requests that memory dumps be written to $TMPDIR. In the .net5.0 container-to-container configuration, $TMPDIR is not guaranteed to be the shared file mount. In that case, dotnet-monitor needs a solution for specifying where the dump should be created (from the target application's perspective). The location of the dump is sent via the Diagnostic Port to the target process. The requested dump location is resolved by the target application. If the shared file mount is not at the same path in both the target container and the dotnet-monitor container, then dotnet-monitor won't be able to access the dump. dotnet-monitor needs to be made aware of the relative path difference of the shared file mount between the two containers. This becomes complex if there are more than 2 containers in a Pod and each container has mounted the shared file mount to a different path.

CC @wiktork @noahfalk @jander-msft @shirhatti

@josalem josalem changed the title contain-to-container dump retrieval container-to-container dump retrieval Oct 19, 2020
@hoyosjs hoyosjs transferred this issue from dotnet/diagnostics Feb 16, 2021
@jander-msft jander-msft added this to the Future milestone Mar 16, 2021
@jander-msft
Copy link
Member

At this time, allowing the definition of where the shared dump location exists between target application containers vs the .NET Monitor container will not be added. The current expectation, at is has been since the beginning of the tool offering, is that the volume is mounted at the same location in all involved containers.

@jander-msft jander-msft closed this as not planned Won't fix, can't repro, duplicate, stale Dec 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants