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

Ignore processes that exit mid poll #1175

Closed
wants to merge 2 commits into from

Conversation

cmetz100
Copy link
Contributor

@cmetz100 cmetz100 commented Dec 18, 2024

What does this PR do?

At any point during the sampling loop, a process may no longer exist on the machine. If this is the case (assuming we dont want to calculate resource usage by these "dead processes") then we need to ensure that we "continue" and start reading from the next process we have in the list. It is vital that we continue before doing any operations on the dead process that could result in an uncaught error, crashing lading, and ruining the experiment run for the replicate.

Motivation

Initial investigation done in #1142

Related issues

Additional Notes

Any drawbacks from cleaning up the process_info map like this?

TODO:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant