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

Implement a twistd plugin #174

Closed
obilodeau opened this issue Jan 9, 2020 · 3 comments
Closed

Implement a twistd plugin #174

obilodeau opened this issue Jan 9, 2020 · 3 comments
Labels
enhancement New feature or request investigate Needs more thought / experience

Comments

@obilodeau
Copy link
Member

Right now one of our deployments reliably crashes from time to time. I would like to be able to debug it. The twistd launcher supports a --debug option that when the process is sent a SIGUSR2, it drops into a pdb debugging shell.

The problem is that our project doesn't provide a twistd compatible plugin. I would like to create one but also maintain the pyrdp-mitm.py launcher. One of my concerns is that it will impact logging.

Ref: https://twisted.readthedocs.io/en/twisted-18.4.0/core/howto/tap.html

@obilodeau obilodeau added enhancement New feature or request investigate Needs more thought / experience labels Jan 9, 2020
@Res260
Copy link
Collaborator

Res260 commented Jan 9, 2020

one of our deployments reliably crashes from time to time

Meaning it crashes often but not always? 🤔

@obilodeau
Copy link
Member Author

Meaning it crashes often but not always? 🤔

Meaning it always crashes but it takes a while. Where a while is an undetermined amount of time and triggered by an unknown condition.

@obilodeau
Copy link
Member Author

Implemented in #177.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request investigate Needs more thought / experience
Projects
None yet
Development

No branches or pull requests

2 participants