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

NSFS endpoint should set its process/threads name in the OS to be identified accurately #8049

Closed
guymguym opened this issue May 15, 2024 · 2 comments · Fixed by #8095
Closed
Labels
NS-FS Type:Enhancement New suggestions for behaviours
Milestone

Comments

@guymguym
Copy link
Member

Is your feature request related to a problem? Please describe.
We want GPFS to identify the noobaa endpoint processes so that it can assist with #8039.

Describe the solution you'd like
Use one of https://linux.die.net/man/2/prctl or pthread_setname_np or setprocname or setproctitle (need to figure out which one) in order to set the process name to "noobaa".

Describe alternatives you've considered
We considered adding a special libgpfs library call that will set the calling process attributes, but setting the name is less coupled.

@guymguym guymguym added Type:Enhancement New suggestions for behaviours NS-FS labels May 15, 2024
@guymguym guymguym added this to the 5.16.z milestone May 15, 2024
@guymguym
Copy link
Member Author

CC @eshelmarc @romayalon

@nimrod-becker nimrod-becker modified the milestones: 5.16.z, 5.15.5 May 22, 2024
@romayalon romayalon self-assigned this May 23, 2024
@romayalon
Copy link
Contributor

@eshelmarc Should I set the process title (setproctitle) ? this is the property you will get?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
NS-FS Type:Enhancement New suggestions for behaviours
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants