Giter VIP home page Giter VIP logo

Comments (7)

mlivirov avatar mlivirov commented on June 10, 2024 1

+1
faced the same issue in prod deployment, but on the local machine with dev build it works as expected.

there is a different behaviour in worker startup script depending on the presense of production flag.
https://github.com/pinterest/querybook/blob/master/querybook/server/tasks/all_tasks.py

so as workaround I've added production=false to the worker env variables which helped. not sure what side effects it may have added.

from querybook.

gzhukov avatar gzhukov commented on June 10, 2024

Thx. I have prod environment too.

from querybook.

adamstruck avatar adamstruck commented on June 10, 2024

I experienced the same issue. Adding kombu==5.3.1 in requirements/base.txt fixed the issue in my production deployment.

from querybook.

jczhong84 avatar jczhong84 commented on June 10, 2024

@mlivirov @adamstruck thanks for sharing findings.

for the flag of production=false in all_tasks.py, the only difference is it will run the query execution cleanup when production is true. This reminds me of what @baumandm mentioned in https://querybook.slack.com/archives/CHCNR2Y5B/p1695153621351919.

for the package of kombu, it seems to be a dep package of celery, and we do did a celery version upgrade. Does changing kombu to 5.3.1 work for other people?

from querybook.

baumandm avatar baumandm commented on June 10, 2024

I ran into this issue running locally (via make) only with production=true set, while I was investigating the worker startup issue.

Fortunately we haven't seen it in our production instance, but we are building our own Docker image and it's possible that the requirements are slightly different.

from querybook.

czgu avatar czgu commented on June 10, 2024

Hey all, we faced a similar issue to this. Turns out using celery with -P gevent would resolve this. I am defaulting to use gevent for workers to avoid this issue in future

from querybook.

czgu avatar czgu commented on June 10, 2024

turns out this is should be the issue celery/kombu#1785
will fix to 5.3.1 for now

from querybook.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.