ashb commented on PR #64995: URL: https://github.com/apache/airflow/pull/64995#issuecomment-4222991242
https://github.com/giampaolo/psutil/blob/v7.1.0/psutil/_pslinux.py#L1645-L1651: ```python self._raise_if_zombie() # /proc/PID directory may still exist, but the files within # it may not, indicating the process is gone, see: # https://github.com/giampaolo/psutil/issues/2418 if not os.path.exists(f"{self._procfs_path}/{pid}/stat"): raise NoSuchProcess(pid, name) from err raise ``` I think this is where the exception is coming from. I wonder if this could be caused by something kube/containerd and a procfs proxy/causing a delay. I couldn't find any other reports about this If that is the case I think I'd rather we do something like ```python try: proc = psutil.Process(pid) except psutil.ProcessNotFound: time.sleep(0.1) proc = psutil.Process(pid) ``` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
