ravi-simtel commented on issue #50038:
URL: https://github.com/apache/airflow/issues/50038#issuecomment-2872651354

   when in DAEMON mode, it seems to be not passing the argument, hence the 
error 
   `2025-05-11 09:26:50,356 ERROR - Exception when executing DagProcessorJob
   Traceback (most recent call last):
     File 
"/home/ec2-user/airflow/lib/python3.9/site-packages/airflow/jobs/dag_processor_job_runner.py",
 line 61, in _execute
       self.processor.run()
     File 
"/home/ec2-user/airflow/lib/python3.9/site-packages/airflow/dag_processing/manager.py",
 line 262, in run
       return self._run_parsing_loop()
     File 
"/home/ec2-user/airflow/lib/python3.9/site-packages/airflow/dag_processing/manager.py",
 line 347, in _run_parsing_loop
       self._start_new_processes()
     File 
"/home/ec2-user/airflow/lib/python3.9/site-packages/airflow/dag_processing/manager.py",
 line 894, in _start_new_processes
       processor = self._create_process(file)
     File 
"/home/ec2-user/airflow/lib/python3.9/site-packages/airflow/dag_processing/manager.py",
 line 876, in _create_process
       return DagFileProcessorProcess.start(
     File 
"/home/ec2-user/airflow/lib/python3.9/site-packages/airflow/dag_processing/processor.py",
 line 245, in start
       proc: Self = super().start(target=target, **kwargs)
     File 
"/home/ec2-user/airflow/lib/python3.9/site-packages/airflow/sdk/execution_time/supervisor.py",
 line 487, in start
       proc._register_pipe_readers(
     File 
"/home/ec2-user/airflow/lib/python3.9/site-packages/airflow/sdk/execution_time/supervisor.py",
 line 506, in _register_pipe_readers
       self.selector.register(
     File "/usr/lib64/python3.9/selectors.py", line 360, in register
       self._selector.register(key.fd, poller_events)
   OSError: [Errno 22] Invalid argument`
   
   You can use this for now,
   
   `nohup airflow dag-processor > nohup.out &`


-- 
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

Reply via email to