You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@superset.apache.org by GitBox <gi...@apache.org> on 2020/09/09 16:54:35 UTC

[GitHub] [incubator-superset] bkyryliuk commented on issue #10530: periodic SQLAlchemy errors with SQL-based alerting tasks

bkyryliuk commented on issue #10530:
URL: https://github.com/apache/incubator-superset/issues/10530#issuecomment-689689258


   It seems that celery is not happy to deal with the sqlalchemy pool & that's related to the process forking. The recommendation I found was to have 1 session per worker to avoid issues like this. Here is some read:
   * https://stackoverflow.com/questions/14526249/celery-worker-database-connection-pooling 
   *  https://stackoverflow.com/questions/44598266/sqlalchemy-exc-nosuchcolumnerror-when-im-querying-in-parent-process
   *  http://www.prschmid.com/2013/04/using-sqlalchemy-with-celery-tasks.html 
   
   cc @willbarrett @villebro 


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



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org