Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix 'NoSuchProcess' exception in process_checker (sonic-net#5716)
The psutil library used in process_checker create a cache for each process when calling process_iter. So, there is some possibility that one process exists when calling process_iter, but not exists when calling cmdline, which will raise a NoSuchProcess exception. This commit fix the issue. Signed-off-by: bingwang <bingwang@microsoft.com>
- Loading branch information