yaobaishijie commented on issue #50038:
URL: https://github.com/apache/airflow/issues/50038#issuecomment-2844828482
I also encountered the same problem, as shown in the picture
`2025-05-01 20:49:51,117 INFO - Starting the Dag Processor Job
2025-05-01 20:49:51,117 INFO - Processing files using up to 2 processes at a
time
2025-05-01 20:49:51,118 INFO - Process each file at most once every 30
seconds
2025-05-01 20:49:51,120 INFO - DAG bundles loaded: dags-folder
2025-05-01 20:49:51,124 INFO - DAG bundles loaded: dags-folder
2025-05-01 20:49:51,124 INFO - Checking for new files in bundle dags-folder
every 300 seconds
2025-05-01 20:49:51,128 INFO - Refreshing bundle dags-folder
2025-05-01 20:49:51,130 INFO - Searching for files in dags-folder at
/root/airflow/dags
2025-05-01 20:49:51,133 INFO - Found 15 files for bundle dags-folder
2025-05-01 20:49:51,152 ERROR - Exception when executing DagProcessorJob
Traceback (most recent call last):
File
"/root/miniconda3/envs/airflow/lib/python3.9/site-packages/airflow/jobs/dag_processor_job_runner.py",
line 61, in _execute
self.processor.run()
File
"/root/miniconda3/envs/airflow/lib/python3.9/site-packages/airflow/dag_processing/manager.py",
line 262, in run
return self._run_parsing_loop()
File
"/root/miniconda3/envs/airflow/lib/python3.9/site-packages/airflow/dag_processing/manager.py",
line 347, in _run_parsing_loop
self._start_new_processes()
File
"/root/miniconda3/envs/airflow/lib/python3.9/site-packages/airflow/dag_processing/manager.py",
line 894, in _start_new_processes
processor = self._create_process(file)
File
"/root/miniconda3/envs/airflow/lib/python3.9/site-packages/airflow/dag_processing/manager.py",
line 876, in _create_process
return DagFileProcessorProcess.start(
File
"/root/miniconda3/envs/airflow/lib/python3.9/site-packages/airflow/dag_processing/processor.py",
line 245, in start
proc: Self = super().start(target=target, **kwargs)
File
"/root/miniconda3/envs/airflow/lib/python3.9/site-packages/airflow/sdk/execution_time/supervisor.py",
line 487, in start
proc._register_pipe_readers(
File
"/root/miniconda3/envs/airflow/lib/python3.9/site-packages/airflow/sdk/execution_time/supervisor.py",
line 506, in _register_pipe_readers
self.selector.register(
File "/root/miniconda3/envs/airflow/lib/python3.9/selectors.py", line 360,
in register
self._selector.register(key.fd, poller_events)
OSError: [Errno 22] Invalid argument`
--
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]