You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2021/05/23 08:03:23 UTC

[GitHub] [airflow] hafid-d commented on issue #15978: DAG getting stuck in "running" state indefinitely

hafid-d commented on issue #15978:
URL: https://github.com/apache/airflow/issues/15978#issuecomment-846521941


   @ephraimbuddy below are some logs I got from my scheduler. It keeps running as a a daemon and the logs are written well in `airflow-scheduler.out` but no new logs in `airflow-worker.out` since the one I sent in my post.
   ```
   
   /home/ubuntu/****                                                                                      1           0  0.65s           2021-05-23T07:46:28
   /home/ubuntu/****                                                                                      1           0  0.56s           2021-05-23T07:46:27
   /home/ubuntu/****                                                                                      1           0  0.47s           2021-05-23T07:46:54
   /home/ubuntu/****                                                                                      1           0  1.18s           2021-05-23T07:47:03
   /home/ubuntu/****                                                                                      2           0  1.25s           2021-05-23T07:46:20
   /home/ubuntu/****                                                                                      2           0  1.26s           2021-05-23T07:46:20
   /home/ubuntu/****                                                                                      2           0  1.30s           2021-05-23T07:46:19
   /home/ubuntu/****                                                                                  113           0  2.91s           2021-05-23T07:47:05
   /home/ubuntu/****                                                                                  459           0  7.85s           2021-05-23T07:46:38
   ================================================================================
   
   [2021-05-23 15:47:58,271] {scheduler_job.py:182} INFO - Started process (PID=13794) to work on ********
   [2021-05-23 15:47:58,272] {scheduler_job.py:161} INFO - Closing parent pipe
   [2021-05-23 15:47:58,273] {scheduler_job.py:629} INFO - Processing file ******************** for tasks to queue
   [2021-05-23 15:47:58,273] {dagbag.py:451} INFO - Filling up the DagBag from ********************
   [2021-05-23 15:47:58,273] {scheduler_job.py:190} INFO - Processing ******** took 0.014 seconds
   [2021-05-23 15:47:58,274] {scheduler_job.py:641} WARNING - No viable dags retrieved from ************
   [2021-05-23 15:47:58,275] {scheduler_job.py:182} INFO - Started process (PID=13797) to work on **************
   [2021-05-23 15:47:58,275] {scheduler_job.py:190} INFO - Processing ******** took 0.014 seconds
   [2021-05-23 15:47:58,276] {scheduler_job.py:629} INFO - Processing file ************** for tasks to queue
   [2021-05-23 15:47:58,276] {dagbag.py:451} INFO - Filling up the DagBag from **************
   [2021-05-23 15:47:58,277] {scheduler_job.py:641} WARNING - No viable dags retrieved from **************
   [2021-05-23 15:47:58,278] {scheduler_job.py:190} INFO - Processing ******** took 0.016 seconds
   [2021-05-23 15:47:58,281] {scheduler_job.py:190} INFO - Processing ******** took 0.016 seconds
   [2021-05-23 15:47:58,285] {scheduler_job.py:190} INFO - Processing ******** took 0.016 seconds
   [2021-05-23 15:47:58,287] {scheduler_job.py:190} INFO - Processing ************** took 0.015 seconds
   [2021-05-23 15:48:02,300] {scheduler_job.py:161} INFO - Closing parent pipe
   [2021-05-23 15:48:02,302] {scheduler_job.py:182} INFO - Started process (PID=13932) to work on *****************.py
   [2021-05-23 15:48:02,303] {scheduler_job.py:629} INFO - Processing file ***************** for tasks to queue
   [2021-05-23 15:48:02,304] {dagbag.py:451} INFO - Filling up the DagBag from ***************** 
   [2021-05-23 15:48:02,434] {scheduler_job.py:641} WARNING - No viable dags retrieved from *****************
   [2021-05-23 15:48:02,445] {scheduler_job.py:190} INFO - Processing ***************** took 0.144 seconds
   [2021-05-23 15:48:02,452] {scheduler_job.py:161} INFO - Closing parent pipe
   [2021-05-23 15:48:02,455] {scheduler_job.py:182} INFO - Started process (PID=13934) to work on *****************
   [2021-05-23 15:48:02,456] {scheduler_job.py:629} INFO - Processing file ***************** for tasks to queue
   [2021-05-23 15:48:02,456] {dagbag.py:451} INFO - Filling up the DagBag from *****************
   [2021-05-23 15:48:03,457] {scheduler_job.py:161} INFO - Closing parent pipe
   [2021-05-23 15:48:03,460] {scheduler_job.py:182} INFO - Started process (PID=13959) to work on ********
   [2021-05-23 15:48:03,461] {scheduler_job.py:629} INFO - Processing file ******** for tasks to queue
   [2021-05-23 15:48:03,461] {dagbag.py:451} INFO - Filling up the DagBag from ********
   [2021-05-23 15:48:03,501] {scheduler_job.py:641} WARNING - No viable dags retrieved from *****************
   [2021-05-23 15:48:03,514] {scheduler_job.py:190} INFO - Processing ***************** took 1.061 seconds
   [2021-05-23 15:48:04,547] {scheduler_job.py:639} INFO - DAG(s) dict_keys(['****']) retrieved from *******
   [2021-05-23 15:48:04,559] {dag.py:1824} INFO - Sync 1 DAGs
   [2021-05-23 15:48:04,568] {dag.py:2280} INFO - Setting next_dagrun for **** to 2021-05-23T04:00:00+00:00
   [2021-05-23 15:48:04,572] {scheduler_job.py:190} INFO - Processing ********took 1.115 seconds
   [2021-05-23 15:48:05,538] {dag_processing.py:1092} INFO - Finding 'running' jobs without a recent heartbeat
   [2021-05-23 15:48:05,539] {dag_processing.py:1096} INFO - Failing jobs without heartbeat after 2021-05-23 07:43:05.539102+00:00
   [2021-05-23 15:48:05,546] {scheduler_job.py:161} INFO - Closing parent pipe
   [2021-05-23 15:48:05,549] {scheduler_job.py:182} INFO - Started process (PID=14077) to work on ********
   [2021-05-23 15:48:05,549] {scheduler_job.py:629} INFO - Processing file ********for tasks to queue
   [2021-05-23 15:48:05,550] {dagbag.py:451} INFO - Filling up the DagBag from ********
   
   ```


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

For queries about this service, please contact Infrastructure at:
users@infra.apache.org