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

DRAFT: Enable remote debugging (DO NOT MERGE) #1011

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open

Conversation

jrozner
Copy link
Member

@jrozner jrozner commented Dec 19, 2023

DO NOT MERGE

This enables remote debugging in the prod containers. We've noticed a recurring issue where the server becomes unresponsive after migrating from our EKS deployment to ECS after a period of time. We originally assumed this was related to a memory leak or file descriptor leak. After monitoring both it doesn't seem to be related. Let's get some container built that we can deploy and attach delve.

DO NOT DEPLOY THESE UNLESS YOU KNOW WHAT YOU ARE DOING

We might want to end up producing an image that is debugable and setup either dev or a separate docker compose file to use it.

@jkennedyvz
Copy link
Contributor

jkennedyvz commented Dec 29, 2023

We might want to end up producing an image that is debugable and setup either dev or a separate docker compose file to use it.

I added conditional debug builds for the web container, and tags (e.g. ashirt/web:pr-1011-debug) for all containers in CI. If you're fine with the new build config we can merge this.

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

Successfully merging this pull request may close these issues.

None yet

2 participants