Skip to content

Fix leak of sm_segment files in /dev/shm. #10040

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

Merged
merged 1 commit into from
Feb 25, 2022

Conversation

awlauria
Copy link
Contributor

@awlauria awlauria commented Feb 23, 2022

I noticed that there were dozens of 'sm_segment.$HOSTNAME.$UID..'
files leftover in /dev/shm. This seems to clean it up - the
correct namespace wasn't being added so the cleanup callback
was doing nothing.

This may also cleanup some other leaks, as opal_pmix_register_cleanup()
is used in open_file() in opal/util.

Signed-off-by: Austen Lauria [email protected]

I noticed that there were dozens of 'sm_segment.$HOSTNAME.$UID..'
files leftover in /dev/shm. This seems to clean it up - the
correct namespace wasn't being added so the cleanup callback
was doing nothing.

This may also cleanup some other leaks, as opal_pmix_register_cleanup()
is used in open_file() in opal/util.

Signed-off-by: Austen Lauria <[email protected]>
Copy link
Member

@gpaulsen gpaulsen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch!

Austen did a deskcheck of this code with Tomi and I.

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.

2 participants