dvarrazzo commented on code in PR #45124: URL: https://github.com/apache/airflow/pull/45124#discussion_r1896877203
########## airflow/dag_processing/manager.py: ########## @@ -181,7 +180,15 @@ def _run_processor_manager( # to iterate the child processes set_new_process_group() - setproctitle("airflow scheduler -- DagFileProcessorManager") + + # setproctitle causes issue on Mac OS: https://github.com/benoitc/gunicorn/issues/3021 + os_type = sys.platform + if os_type == "darwin": + log.info("Mac OS detected, skipping setproctitle") + else: + from setproctitle import setproctitle + setproctitle("airflow scheduler -- DagFileProcessorManager") Review Comment: Hello, I am the setproctitle author, although I have limited experience with macOS and no hardware to test with it. @gershnik has been so kind to contribute expertise and bugfixes to the project in relation with macOS. Maybe he might be able to help? I wonder if this problem relates to concurrency during initialisation? -- 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: commits-unsubscr...@airflow.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org