Mark Fickett
06/02/2022, 12:50 PMowen
06/02/2022, 8:41 PMalex
06/02/2022, 8:43 PMfork
-ed, so theres no ongoing stability work. You can certainly report the issues you are seeing and we can see if we can help.Mark Fickett
07/11/2022, 5:00 PMstart_method: forkserver
to work on MacOS X by following https://stackoverflow.com/questions/50168647/multiprocessing-causes-python-to-crash-and-gives-an-error-may-have-been-in-progr and setting:
export OBJC_DISABLE_INITIALIZE_FORK_SAFETY=YES
export no_proxy=*
Along with a preload_modules
of my job's main entrypoint (so it effectively loads everything I'll need), this gave about a 2x speedup for local Dagster runs, which is great!Mark Fickett
07/14/2022, 8:08 PMforkserver
, and it looks like python-opentelemetry has a known issue with forking: https://opentelemetry-python.readthedocs.io/en/latest/examples/fork-process-model/README.html . The workarounds they mention are post-fork hooks. I don't see something like that mentioned in https://docs.dagster.io/concepts/ops-jobs-graphs/job-execution , is it available?alex
07/14/2022, 9:17 PMSimpleSpanProcessor
in stead? How many spans are you generating?Mark Fickett
07/15/2022, 2:00 PMSimpleSpanProcessor
seems to work fine at least locally. A local/test pipeline run might generate 55 spans over 30s, and a full pipeline run generates about 30k over 5-6h.