celeryd Questions

10

Solved

While issuing a new build to update code in workers how do I restart celery workers gracefully? Edit: What I intend to do is to something like this. Worker is running, probably uploading a 100 ...
Mountford asked 19/3, 2012 at 4:6

4

Solved

I am using Celery to perform asynchronous background tasks, with Redis as the backend. I'm interested in the behaviour of a Celery worker in the following situation: I am running a worker as a dae...
Salty asked 24/1, 2013 at 11:41

1

I am newbie to Celery. I create a project as per instruction provided by the celery4.1 docs.Below is my project folder and files: mycelery | test_celery | celery_app.py tasks.py __init__.py...
Mattern asked 24/1, 2017 at 6:41

6

Solved

I've define a Celery app in a module, and now I want to start the worker from the same module in its __main__, i.e. by running the module with python -m instead of celery from the command line. I t...
Cookery asked 30/4, 2014 at 13:13

4

Solved

Following instructions found here, I copied the script from github into /etc/init.d/celeryd, then made it executable; $ ll /etc/init.d/celeryd -rwxr-xr-x 1 root root 9481 Feb 19 11:27 /etc/init.d/...
Septivalent asked 19/2, 2014 at 12:22

3

I'd like to create a periodic task for celery using django-celery's admin interface. I have a task set up which runs great when called manually or by script. It just doesn't work through celerybeat...
Anecdotist asked 25/5, 2011 at 8:4

5

Solved

I Have add some wrong task to a celery with redis broker but now I want to remove the incorrect task and I can't find any way to do this Is there some commands or some api to do this ?
Sincere asked 19/6, 2013 at 6:25

2

Solved

What is the difference between having: one worker with concurrency 4 or two workers with concurrency 2 each for the same queue. Thanks
Interlocution asked 3/10, 2017 at 10:29

5

Solved

I just found out about the configuration option CELERYD_PREFETCH_MULTIPLIER (docs). The default is 4, but (I believe) I want the prefetching off or as low as possible. I set it to 1 now, which is c...
Wooten asked 16/4, 2013 at 14:42

3

Solved

I have in my celery configuration BROKER_URL = 'redis://127.0.0.1:6379' CELERY_RESULT_BACKEND = 'redis://127.0.0.1:6379' Yet whenever I run the celeryd, I get this error consumer: Cannot conn...
Allison asked 23/4, 2013 at 18:26

3

In celery i want to get the task status for all the tasks for specific task name. For that tried below code. import celery.events.state # Celery status instance. stat = celery.events.state.State...
Sepsis asked 22/7, 2013 at 9:2

7

We use Celery with our Django webapp to manage offline tasks; some of these tasks can run up to 120 seconds. Whenever we make any code modifications, we need to restart Celery to have it reload th...
Selfexplanatory asked 10/3, 2012 at 0:13

1

I am using Celery with supervisor running the workers and Redis as the broker, and I'm having an issue with a Celery worker apparently freezing up, making it unable to process any more tasks and ca...
Ridgepole asked 27/2, 2018 at 2:18

3

Solved

I do retries with celery like in the Docs-Example: @task() def add(x, y): try: ... except Exception, exc: add.retry(exc=exc, countdown=60) # override the default and # retry in 1 minute How...
Hemophilia asked 27/2, 2012 at 18:20

1

Solved

Suppose i have this task definition: def some_other_foo(input) raise Exception('This is not handled!') return input @app.task( bind=True, max_retries=5, soft_time_limit=20) def some_foo(self, ...
Pangermanism asked 10/8, 2017 at 10:25

3

Solved

It seems the longer I keep my rabbitmq server running, the more trouble I have with unacknowledged messages. I would love to requeue them. In fact there seems to be an amqp command to do this, but ...
Woofer asked 15/8, 2011 at 9:1

0

I've got a celery task which is supposed to run in infinite loop, listening to a few queues (not related to Celery internals) in RabbitMQ. When message is retrieved from queue this long running tas...
Origami asked 14/11, 2016 at 14:53

2

I have a task in Celery that could potentially run for 10,000 seconds while operating normally. However all the rest of my tasks should be done in less than one second. How can I set a time limit f...
Superelevation asked 26/7, 2012 at 14:59

2

Solved

I am using celery-django to queue tasks on my site backend. I am trying to create a setup where I have two queues named "low" and "high" and two workers W1 and W2. I want them to consume the tasks ...
Fredericksburg asked 15/4, 2014 at 9:5

1

Solved

Trying to run supervisord (3.2.2) with celery multi. Seems to be that supervisord can't handle it. Single celery worker works fine. This is my supervisord configuration celery multi v3.1.20 (Cip...
Demosthenes asked 14/5, 2016 at 5:16

2

Solved

I need to route all tasks of a certain django site instance to a certain queue. My setup is as following: several webservers running a Django project (1.7) one server running celery workers (3.1....
Fingerling asked 11/2, 2015 at 14:13

1

Solved

I am looking for some advice as to the best way to map a list generated from a task to another task in celery. Let's say I have a task called parse, which parses a PDF document and outputs a list ...
Ferryman asked 30/4, 2013 at 3:35

1

I have a django app that is using celeryd and celerybeat. Both are set up to run as daemons. The celerybeat tasks won't get executed because celerybeat does not start correctly. According to the lo...
Emanate asked 4/5, 2012 at 11:58

2

Solved

I have Celery running with RabbitMQ broker. Today, I have a failure of a Celery node, it doesn't execute tasks and doesn't respond on service celeryd stop command. After few repeats, the node stopp...
Vladivostok asked 7/9, 2013 at 12:27

2

I'm just starting using django-celery and I'd like to set celeryd running as a daemon. The instructions, however, appear to suggest that it can be configured for only one site/project at a time. Ca...
Gliwice asked 19/4, 2012 at 18:23

© 2022 - 2025 — McMap. All rights reserved.