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

Improve naming of the executor processes #7999

Open
wouterdb opened this issue Aug 23, 2024 · 0 comments
Open

Improve naming of the executor processes #7999

wouterdb opened this issue Aug 23, 2024 · 0 comments

Comments

@wouterdb
Copy link
Contributor

Problem

Naming of the executors processes in the process listing and logs is not optimal

Proposed solution

  1. use the name and version of all modules installed in an executor as the name of that executor

important to keep in mind

  1. we want to correlate the log to the process listing
  2. in the log, we can use name + PID to have something that is definitely unique.

Pointers to a solution

  1. the compiler will have to export additional information, that the server will have to store and the agent pull
  2. the MPPool class in the end controls the naming
  3. by making the executors more aware of code/modules, the code of MPManager.get_executor can perhaps be made more elegant by moving the translation down into MPPool or MPProcess
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

No branches or pull requests

1 participant