-
Notifications
You must be signed in to change notification settings - Fork 154
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
Let dcgm-exporter be a daemon #367
Comments
@zvonkok , You can use a process manager, such as init.d, systemd, or Supervisor (http://supervisord.org/), to run the DCGM-exporter as a daemon in the background. Will this work for your use case? |
Unfortunately, not. I am not running any process manager and would like to avoid having such a "huge" dependency for our microVM use case. Additionally, we're running in confidential computing environments where we want to minimize the attack surface by reducing the rootfs size for the guest fs. |
@zvonkok , Thank you for providing a use case that justifies the feature request. Re: Can we run dcgm-exporter with a specific user/group? Does it need per-se root rights? The DCGM-exporter can be run without root permissions when it uses an embedded DCGM engine. However, DCP metrics aren't available without root access. However, the DCGM-exporter is able to use a "remote" nv-hostengine, which can be run under root privileges. This remote nv-hostengine provides an endpoint that the DCGM-exporter may use to read GPU metrics, while being run without root privileges. Here's an example of the command line for running the DCGM-exporter with a connection to the remote nv-hostengine: |
Hi @nvvfedorov |
Back from a bigger break. Any follow-up on this? |
Is this a new feature, an improvement, or a change to existing functionality?
New Feature
Please provide a clear description of the problem this feature solves
In constraint environments I do not have a shell and cannot easily send a process to the background. Executing dcgm-exporter should give me the possibility to either run it in the foreground or background
Feature Description
Let dcgm-exporter daemonize like nv-hostengine or nvidia-persistenced. Executing dcgm-exporter should get a new argument so it can be automatically be sent to the background.
Describe your ideal solution
Either send dcgm-exporter per default to the background or add a new argument e.g.
-d
to daemonize the processAdditional context
No response
The text was updated successfully, but these errors were encountered: