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 2020/12/22 07:24:13 UTC

[GitHub] [airflow] nabajitdey opened a new issue #13243: Scheduler stopping frequently

nabajitdey opened a new issue #13243:
URL: https://github.com/apache/airflow/issues/13243


   <!--
   
   Welcome to Apache Airflow!  For a smooth issue process, try to answer the following questions.
   Don't worry if they're not all applicable; just try to include what you can :-)
   
   If you need to include code snippets or logs, please put them in fenced code
   blocks.  If they're super-long, please use the details tag like
   <details><summary>super-long log</summary> lots of stuff </details>
   
   Please delete these comment blocks before submitting the issue.
   
   -->
   
   <!--
   
   IMPORTANT!!!
   
   PLEASE CHECK "SIMILAR TO X EXISTING ISSUES" OPTION IF VISIBLE
   NEXT TO "SUBMIT NEW ISSUE" BUTTON!!!
   
   PLEASE CHECK IF THIS ISSUE HAS BEEN REPORTED PREVIOUSLY USING SEARCH!!!
   
   Please complete the next sections or the issue will be closed.
   These questions are the first thing we need to know to understand the context.
   
   -->
   
   **Apache Airflow version**: 1.10
   
   **What happened**: Airflow Scheduler has to be restarted frequently while running DAGs. Also tried pkill -f airflow and restarted both the scheduler and the webserver, but still the issue is there. I’ve also noticed that sometimes after restarting the scheduler for a couple of times this issue doesn’t appear again.
   
   `The scheduler does not appear to be running. Last heartbeat was received was 32 seconds ago. The DAGs list may not be updated, and new tasks will not be scheduled.`
   
   


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



[GitHub] [airflow] akotlar edited a comment on issue #13243: Scheduler stopping frequently

Posted by GitBox <gi...@apache.org>.
akotlar edited a comment on issue #13243:
URL: https://github.com/apache/airflow/issues/13243#issuecomment-750701419


   > So was there some specific error from your side or was it an Airflow issue? Because if it's an airflow issue then we cannot use airflow for seamless production purposes can we?
   
   Specific error on my side. The issues was either that the file was taking too long to parse (triggering the dag file processing threshold defined in airflow.cfg), or crashing during parsing. The former issue is trivial to solve, the latter I believe is less common in 2.0 (dag file processor tries to catch exceptions)


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



[GitHub] [airflow] potiuk commented on issue #13243: Scheduler stopping frequently

Posted by GitBox <gi...@apache.org>.
potiuk commented on issue #13243:
URL: https://github.com/apache/airflow/issues/13243#issuecomment-750879965


   Should we close the issue ? 


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



[GitHub] [airflow] akotlar commented on issue #13243: Scheduler stopping frequently

Posted by GitBox <gi...@apache.org>.
akotlar commented on issue #13243:
URL: https://github.com/apache/airflow/issues/13243#issuecomment-749723998


   I had this happen several times on 1.10.x. Dag would raise an exception during processing, or would time out during processing, both would result in this error. I woud try running airflow scheduler &> /path/to/log and tail -f the log.


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



[GitHub] [airflow] boring-cyborg[bot] commented on issue #13243: Scheduler stopping frequently

Posted by GitBox <gi...@apache.org>.
boring-cyborg[bot] commented on issue #13243:
URL: https://github.com/apache/airflow/issues/13243#issuecomment-749391037


   Thanks for opening your first issue here! Be sure to follow the issue template!
   


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



[GitHub] [airflow] ashb edited a comment on issue #13243: Scheduler stopping frequently

Posted by GitBox <gi...@apache.org>.
ashb edited a comment on issue #13243:
URL: https://github.com/apache/airflow/issues/13243#issuecomment-754559477


   On 1.10 you can try increasing http://airflow.apache.org/docs/apache-airflow/1.10.14/configurations-ref.html#dagbag-import-timeout
   
   For anything else related to this issue lets use #7935


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



[GitHub] [airflow] ashb closed issue #13243: Scheduler stopping frequently

Posted by GitBox <gi...@apache.org>.
ashb closed issue #13243:
URL: https://github.com/apache/airflow/issues/13243


   


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



[GitHub] [airflow] akotlar commented on issue #13243: Scheduler stopping frequently

Posted by GitBox <gi...@apache.org>.
akotlar commented on issue #13243:
URL: https://github.com/apache/airflow/issues/13243#issuecomment-750701419


   > So was there some specific error from your side or was it an Airflow issue? Because if it's an airflow issue then we cannot use airflow for seamless production purposes can we?
   
   Specific error on my side. The issues was either that the file was taking too long to parse (triggering the dag file processing threshold defined in airflow.cfg), or crashing during parsing. The former issue is trivial to solve, the latter I believe is less common in 2.0 (dag file processor tries to catch errors)


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



[GitHub] [airflow] mik-laj commented on issue #13243: Scheduler stopping frequently

Posted by GitBox <gi...@apache.org>.
mik-laj commented on issue #13243:
URL: https://github.com/apache/airflow/issues/13243#issuecomment-749788134


   Is it related? https://github.com/apache/airflow/issues/7935


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



[GitHub] [airflow] nabajitdey commented on issue #13243: Scheduler stopping frequently

Posted by GitBox <gi...@apache.org>.
nabajitdey commented on issue #13243:
URL: https://github.com/apache/airflow/issues/13243#issuecomment-751587318


   > > So was there some specific error from your side or was it an Airflow issue? Because if it's an airflow issue then we cannot use airflow for seamless production purposes can we?
   > 
   > Specific error on my side. The issues was either that the file was taking too long to parse (triggering the dag file processing threshold defined in airflow.cfg), or crashing during parsing. The former issue is trivial to solve, the latter I believe is less common in 2.0 (dag file processor tries to catch exceptions)
   
   Thanks for the clarification.


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



[GitHub] [airflow] nabajitdey commented on issue #13243: Scheduler stopping frequently

Posted by GitBox <gi...@apache.org>.
nabajitdey commented on issue #13243:
URL: https://github.com/apache/airflow/issues/13243#issuecomment-749972873


   > I had this happen several times on 1.10.x. Dag would raise an exception during processing, or would time out during processing, both would result in this error. I woud try running airflow scheduler &> /path/to/log and tail -f the log.
   
   So was there some specific error from your side or was it an Airflow issue? Because if it's an airflow issue then we cannot use airflow for seamless production purposes can we?


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



[GitHub] [airflow] ashb commented on issue #13243: Scheduler stopping frequently

Posted by GitBox <gi...@apache.org>.
ashb commented on issue #13243:
URL: https://github.com/apache/airflow/issues/13243#issuecomment-754559477


   On 1.10 you can try increasing http://airflow.apache.org/docs/apache-airflow/1.10.14/configurations-ref.html#dagbag-import-timeout


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



[GitHub] [airflow] nabajitdey edited a comment on issue #13243: Scheduler stopping frequently

Posted by GitBox <gi...@apache.org>.
nabajitdey edited a comment on issue #13243:
URL: https://github.com/apache/airflow/issues/13243#issuecomment-751587318


   > > So was there some specific error from your side or was it an Airflow issue? Because if it's an airflow issue then we cannot use airflow for seamless production purposes can we?
   > 
   > Specific error on my side. The issues was either that the file was taking too long to parse (triggering the dag file processing threshold defined in airflow.cfg), or crashing during parsing. The former issue is trivial to solve, the latter I believe is less common in 2.0 (dag file processor tries to catch exceptions)
   
   Thanks for the clarification. But the test file that I'm using isn't taking long to parse when the scheduler works properly. Still I will give a recheck on that.


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



[GitHub] [airflow] nabajitdey commented on issue #13243: Scheduler stopping frequently

Posted by GitBox <gi...@apache.org>.
nabajitdey commented on issue #13243:
URL: https://github.com/apache/airflow/issues/13243#issuecomment-749970532


   > Is it related? #7935
   
   Probably its the same issue. So is there a solution yet?


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



[GitHub] [airflow] nabajitdey commented on issue #13243: Scheduler stopping frequently

Posted by GitBox <gi...@apache.org>.
nabajitdey commented on issue #13243:
URL: https://github.com/apache/airflow/issues/13243#issuecomment-751587969


   > Should we close the issue ?
   
   Hi, is it possible to keep the issue open or shall I refer to #7935 for future because the issue is still there in my system. 


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



[GitHub] [airflow] nabajitdey commented on issue #13243: Scheduler stopping frequently

Posted by GitBox <gi...@apache.org>.
nabajitdey commented on issue #13243:
URL: https://github.com/apache/airflow/issues/13243#issuecomment-751594908


   > > So was there some specific error from your side or was it an Airflow issue? Because if it's an airflow issue then we cannot use airflow for seamless production purposes can we?
   > 
   > Specific error on my side. The issues was either that the file was taking too long to parse (triggering the dag file processing threshold defined in airflow.cfg), or crashing during parsing. The former issue is trivial to solve, the latter I believe is less common in 2.0 (dag file processor tries to catch exceptions)
   
   can you please mention what specific changes you made in the config file? 


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