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

open_files() on Linux may erroneously raise NoSuchProcess #1021

Closed
giampaolo opened this issue Apr 25, 2017 · 0 comments
Closed

open_files() on Linux may erroneously raise NoSuchProcess #1021

giampaolo opened this issue Apr 25, 2017 · 0 comments

Comments

@giampaolo
Copy link
Owner

giampaolo commented Apr 25, 2017

When iterating over /proc/{pid}/fdinfo/{fd} "fd" may disappear on us. In this case psutil treats this condition as "process is gone" and raises NoSuchProcess.
Instead, it should skip the fd and go on.
This is related to #1014.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant