GitHub user potiuk added a comment to the discussion: On WSL2/Windows, 
constantly getting "Heartbeat failed with Exception: PID of job runner does not 
match" warnings

I think you need to provide a bit more information. Windows/WSL2 is not really 
a target platform for airflow runtime for "production" and we do not run any 
tests with it.

But maybe - if you can do some analysis and provide more information we can 
attempt to help you in your problem. 

You can try to gather some more logs and information - i.e. gather more 
detailed logs from example tasks - to see which processes have been created - 
if you look and trace it in the logs and send us the info, maybe we can help 
you to figure out some workarounds. Track what processes are being created. 
Also if you are using `run_as_user` - feature, there might be a problem with 
WSL2 or your impersonation user settings.

There few parameters you can try - 
https://airflow.apache.org/docs/apache-airflow/stable/configurations-ref.html#execute-tasks-new-python-interpreter
 might be something worth trying. 

Converting to a discussion, as Windows/WSL2 is not a target runtime platform - 
but there might be a discussion coming out of it.

GitHub link: 
https://github.com/apache/airflow/discussions/44853#discussioncomment-11537805

----
This is an automatically sent email for commits@airflow.apache.org.
To unsubscribe, please send an email to: commits-unsubscr...@airflow.apache.org

Reply via email to