Skip to content
Advertisement

Tag: celery

Unable to start Airflow worker/flower and need clarification on Airflow architecture to confirm that the installation is correct

Running a worker on a different machine results in errors specified below. I have followed the configuration instructions and have sync the dags folder. I would also like to confirm that RabbitMQ and PostgreSQL only needs to be installed on the Airflow core machine and does not need to be installed on the workers (the workers only connect to the

Celery – No module named five

After updating celery and django-celery to 3.1: I run into this error when starting my server: Using: Django 1.4.21 Python 2.7 Answer Last version of vine is 5.0.0 and fresh push was in 06.09.2020 (yesterday) :), and this version do not have any five.py file. So downgrade vine version to. vine==1.3.0 works for me UPDATE: by the answer Sarang, amqp

celery doesn’t work with global variable

this is the code I used to test celery. I hope every time I use addone() the return value should increase. But it’s always 1 why??? Results Answer By default when a worker is started Celery starts it with a concurrency of 4, which means it has 4 processes started to handle task requests. (Plus a process that controls the

Create celery tasks then run synchronously

My app gathers a bunch of phone numbers on a page. Once the user hits the submit button I create a celery task to call each number and give a reminder message then redirect them to a page where they can see the live updates about the call. I am using web sockets to live update the status of each

How to inspect and cancel Celery tasks by task name

I’m using Celery (3.0.15) with Redis as a broker. Is there a straightforward way to query the number of tasks with a given name that exist in a Celery queue? And, as a followup, is there a way to cancel all tasks with a given name that exist in a Celery queue? I’ve been through the Monitoring and Management Guide

Celery Received unregistered task of type (run example)

I’m trying to run example from Celery documentation. I run: celeryd –loglevel=INFO tasks.py: run_task.py: In same folder celeryconfig.py: When I run “run_task.py”: on python console errors on celeryd server Please explain what’s the problem. Answer You can see the current list of registered tasks in the celery.registry.TaskRegistry class. Could be that your celeryconfig (in the current directory) is not in

Celery + Django: Cannot start celerybeat on Windows 7

I’ve been developing a Django application and I am now trying to add Celery for background tasks. I need both normal tasks and periodic tasks to be queued. I can start up celeryd just fine, and execute tasks with it (I start it with the command python manage.py celeryd start –settings=settings –loglevel=INFO). On Windows you can’t do -beat/-b to enable

Advertisement