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

[Question] How to kill a procedure named no-such-process #134

Open
3 tasks done
HuXiLiFeng opened this issue Jul 31, 2024 · 1 comment
Open
3 tasks done

[Question] How to kill a procedure named no-such-process #134

HuXiLiFeng opened this issue Jul 31, 2024 · 1 comment
Assignees
Labels
question Further information is requested

Comments

@HuXiLiFeng
Copy link

Required prerequisites

  • I have read the documentation https://nvitop.readthedocs.io.
  • I have searched the Issue Tracker that this hasn't already been reported. (comment there if it has.)
  • I have tried the latest version of nvitop in a new isolated virtual environment.

Questions

after exec nvitop
1 56752 C N/A 32.34GiB 100 N/A N/A N/A No Such Process
However, when i exec nvidia-smi, i cant find this process 56752.
I tried "kill -9 56752", but it didn't works.
I also tried "fuser -v /dev/nvidia1 | xargs -t -n 1 kill -9", it didn't works.

Question: how to kill 56752 process?

@HuXiLiFeng HuXiLiFeng added the question Further information is requested label Jul 31, 2024
@XuehaiPan XuehaiPan changed the title How to kill a procedure named no-such-process[Question] [Question] How to kill a procedure named no-such-process Oct 25, 2024
@XuehaiPan
Copy link
Owner

@HuXiLiFeng If you are running in a docker container, the PID from the NVIDIA driver is the host PID rather than the one in the container. So, you got No Such Process. You can add --pid when using docker:

docker run ... --pid=host ...

If you are running in a physical machine, try this:

sudo lsof -t /dev/nvidia*

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants