-
Notifications
You must be signed in to change notification settings - Fork 195
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
[not for merge] tidying threads and file descriptors at shutdown #3397
Draft
benclifford
wants to merge
7
commits into
master
Choose a base branch
from
benc-stdstreams-bugs
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+78
−19
Commits on Nov 29, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 9d3d3cc - Browse repository at this point
Copy the full SHA 9d3d3ccView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0ac0775 - Browse repository at this point
Copy the full SHA 0ac0775View commit details -
Configuration menu - View commit details
-
Copy full SHA for b857453 - Browse repository at this point
Copy the full SHA b857453View commit details -
Prototype htex result queue shutdown
Before this PR, this thread stays running forever, until it is terminated by Python process exit. After this PR, this thread polls an flag once per second, then properly closes the ZMQ socket that it is using. pytest parsl/tests/test_monitoring/ --config local Before this PR, at end of test: 32 threads, 451 fds open. After this PR, at end of test: 1 thread, 48 fds open.
Configuration menu - View commit details
-
Copy full SHA for 0964f5a - Browse repository at this point
Copy the full SHA 0964f5aView commit details -
Configuration menu - View commit details
-
Copy full SHA for a839e03 - Browse repository at this point
Copy the full SHA a839e03View commit details -
radical mpi test leaves lots of threads:
parsl/tests/test_radical/test_mpi_funcs.py ... logger.error(f"BENC: end open fds: {end_fds} (vs start {start_fds}") logger.error(f"BENC: end threads: {threading.active_count()}") > assert threading.active_count() == 1, "test left threads running: " + repr(threading.enumerate()) E AssertionError: test left threads running: [<_MainThread(MainThread, started 140532448974656)>, <Thread(Thread-18 ( _work), started daemon 140531866793664)>, <Thread(Thread-19 (_run_proxy), started daemon 140531858400960)>, <Thread(Thread-20 ( _monitor), started daemon 140531850008256)>, <Thread(Thread-21 (_work), started daemon 140531841615552)>, <Thread(Thread-23 (_w atch), started daemon 140531229243072)>, <Thread(Thread-24 (_listener), started daemon 140531220850368)>, <Thread(Thread-25 (_l istener), started daemon 140530985985728)>, <Thread(Thread-26 (_listener), started daemon 140530977593024)>, <Thread(Thread-27 (_listener), started daemon 140530969200320)>, <Thread(Thread-28 (_listener), started daemon 140530960807616)>, <Thread(Thread- 29 (_listener), started daemon 140530952414912)>, <Thread(Thread-31 (_listener), started daemon 140530390398656)>, <Thread(Thre ad-32 (_listener), started daemon 140530365220544)>, <Thread(Thread-33 (_listener), started daemon 140530113570496)>, <Thread(T hread-35 (_listener), started daemon 140530096785088)>, <Thread(Thread-36 (_listener), started daemon 140530071606976)>, <Threa d(Thread-38 (_listener), started daemon 140529627023040)>, <Thread(Thread-39 (_listener), started daemon 140529618630336)>, <Th read(Thread-40 (_bulk_collector), started daemon 140529610237632)>] E assert 20 == 1 E + where 20 = <function active_count at 0x7fd041fcfec0>() E + where <function active_count at 0x7fd041fcfec0> = threading.active_count
Configuration menu - View commit details
-
Copy full SHA for 72c8dd5 - Browse repository at this point
Copy the full SHA 72c8dd5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 254d8ba - Browse repository at this point
Copy the full SHA 254d8baView commit details
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.