-
Notifications
You must be signed in to change notification settings - Fork 136
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
Investigate ghost processes in tproxy and JDC #1266
Comments
one of the main findings around this is the fact that this usually happens with JDC and tProxy, and both are using a
we don't observe this behavior in any other role, and none of them have the |
here's some findings from manual tests they were observed without any Integration Tests or the text below might seem very dense, but we can actually infer some patterns from these observations The first setup had the following:
I tried killing JDC and observing tProxy in two different ways:
then I tried killing tProxy and observing JDC, and the same patterns was observed:
then I tried killing Pool and observing JDC, but the same pattern was not observed:
then I tried killing JDS and observing JDC, but the same pattern was not observed:
The second setup was the following:
I tried killing Pool and observing tProxy in two different ways:
then I tried killing tProxy and observing Pool, but the same pattern was not observed:
|
another relevant observation on JD-less setup:
after killing Pool and making tProxy unresponsive to Ctrl+C, I avoided trying to force-kill tProxy (via then tProxy re-connected to Pool, and went back to responding to Ctrl+C normally again this should provide meaningful insight wrt |
I find something like that https://github.com/demand-open-source/demand-cli/blob/master/src/translator/task_manager.rs quite useful. |
While working on #1207 it was noticed that some of the spawned tasks are not exiting upon dropping the main task. This results in hanging test as the future of those spawned tasks is never resolved and the test never ends.
@Shourya742 @plebhash tagging you as you have done some work here already
edit by @plebhash: it's important to get to the bottom of this, because it seems it's become a blocker to Integration Test issues such as #1207
The text was updated successfully, but these errors were encountered: