You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We're self-hosting saleor and running into issues with our celery deployment, where the worker appears to get stuck after a while. We're deploying to k8s and run celery workers like this:
celery -A saleor --app=saleor.celeryconf:app worker --loglevel=info --beat
Is this the correct way to? I'm asking because celery -A saleor --app=saleor.celeryconf:app is redundant for example. Also, shelling into the container and trying to inspect it via celery -A saleor --app=saleor.celeryconf:app inspect active or celery -A saleor --app=saleor.celeryconf:app status both fail, and the lifetime check here in this repo does not seem to be working at all.
Error: No nodes replied within time constraint
Any idea what might be wrong with our healthchecks / lifetime checks?
The text was updated successfully, but these errors were encountered:
@rrrnld we honestly did not use the helm chart with the most recent Saleor versions, as we did move to the cloud deployment, but it did work before. So currently I don't have the capacity to test that again, but we will most likely try the self-hosted deployment again in the future..
we added this liveness checks to make really sure, that the workers are alive and the redis connection is still active and that used to work fine. How does the being stuck look like to you?
We're self-hosting saleor and running into issues with our celery deployment, where the worker appears to get stuck after a while. We're deploying to k8s and run celery workers like this:
This is taken from the config that was removed here: saleor/saleor#13777
I can see the worker processes are running. It's also what this repo uses to deploy saleor:
helm-charts/charts/saleor/templates/celery_deployment.yaml
Lines 26 to 52 in fbe6ce6
Is this the correct way to? I'm asking because
celery -A saleor --app=saleor.celeryconf:app
is redundant for example. Also, shelling into the container and trying to inspect it viacelery -A saleor --app=saleor.celeryconf:app inspect active
orcelery -A saleor --app=saleor.celeryconf:app status
both fail, and the lifetime check here in this repo does not seem to be working at all.Any idea what might be wrong with our healthchecks / lifetime checks?
The text was updated successfully, but these errors were encountered: