Leibniz Hu
06/05/2023, 8:31 AMps
command, we found dagster daemon run two python process, but they become defunct process ( referer to 1st pic).
with py-spy
, we found dagster daemon is waiting for these two python process ( referer to 2nd pic).
after reading source of dagster/_serdes/ipc.py:216 and dagster/_grpc/server.py:1123, we found it’s trying to run a grpc server in a sub process.
what can i do to prevent dagster daemon stucking?
P.S. we also noticed that dagster/_serdes/ipc.py:216 changes in https://github.com/dagster-io/dagster/pull/11737 and https://github.com/dagster-io/dagster/pull/13525, and dagster 1.1.21 is after #11737, so we try to apply code source changes in #13525 into ipc.py( remove preexec_fn
argument), but the problem still happends