-
Notifications
You must be signed in to change notification settings - Fork 284
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
No such file or directory: '/proc/30094/stat' #95
Comments
I updated your original post to have stacktraces wrapped with code blocks. Does it happen only once or constantly? Can you provide the output of |
it happen constantly,and i run ps aux | grep 30094 I got output as following:
it seems nothing |
So there is no such process with pid 30094 for you. I think NVML is still reporting the process is utilizing the GPU (which is not valid any more). Can you confirm it by showing me an output of |
thank you for your reply. you are right,when I use
I cant find the process using almost 50% of each GPU,I cant kill it ,I have no authority to |
Thanks. So it is a bug similar to #12, but we were already catching I think this is a bug of psutil: see giampaolo/psutil#1447 (fixed in 5.6.0). Can you confirm the version of psutil you are using?
|
thanks for your advice,I confirm that my psutil's version is 5.4.7, I uninstall it and install the newest psuitl(5.8.0), whats more,I also re-install gpustat by pip just now,I am so sorry to show you it still have the same error when I use gpustat:
|
Hmm.. the bug from psutil still presents. I will add a workaround to ignore untranslated exceptions thrown from psutil. |
A great job, I will continuely follw your work... |
It appears that there is a bug of psutil where FileNotFoundError exceptions are not properly translated to NoSuchProcess when the requested process actually does not exist. As a workaround, we ignore FileNotFoundError exceptions thrown while querying process information as well as NoSuchProcess. We also require psutil to have a minimum version of 5.6.0+ to ensure that the bug (hopefully and probablyj) does not happen.
I pushed a fix for this. Please try the master version: |
yes, no more errors when used
there are
does it means than 39861 process using almost half of each GPU resource? why it showed that |
@zhudd-hub Yours is not a normal situation -- as you can see in your |
Closing as fixed (b52fe9a). |
I re-install gpustat by pip,it stall has error when I used gpustat:
so , what's wrong with my gpu,please help me
The text was updated successfully, but these errors were encountered: