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

PsUtil 6+ no longer check PID reused #2755

Open
nicolargo opened this issue May 4, 2024 · 1 comment
Open

PsUtil 6+ no longer check PID reused #2755

nicolargo opened this issue May 4, 2024 · 1 comment

Comments

@nicolargo
Copy link
Owner

giampaolo/psutil#2396: process_iter() no longer pre-emptively checks whether PIDs have been reused. If you want to check for PID reusage you are supposed to use Process.is_running() against the yielded Process instances. That will also automatically remove reused PIDs from process_iter() internal cache.

See if any impact in the main processes.py loop.

@nicolargo
Copy link
Owner Author

PsUtil 6 not release. Postpone to next Glances version.

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