Skip to main content
Filter by
Sorted by
Tagged with
0 votes
1 answer
42 views

I'm getting a bunch of logs like this: [2025-11-29 16:13:15,731] def group(self, tasks, result, group_id, partial_args, add_to_parent=0): return 1 [2025-11-29 16:13:15,732] def xmap(task, it): ...
csirmazbendeguz's user avatar
1 vote
0 answers
51 views

Beat seems to be sending the messages into SQS very slowly, about 100/minute. Every Sunday I have a sendout to about 16k users, and they're all booked for 6.30pm. Beat starts picking it up at the ...
Diogo Freire's user avatar
0 votes
0 answers
175 views

I have KEDA + Celery setup working, but there's a timing issue with scaling. I need immediate pod scaling when tasks are queued - essentially maintaining zero pending tasks at all times by spinning up ...
Shravan Nani's user avatar
0 votes
0 answers
68 views

I set up a celery + beat containers in ECS and used AWS MQ as the broker. However, my setup seems to be very prone to disconnections, where celery workers are suddenly disconnected from MQ. I end up ...
Allen Ye's user avatar
0 votes
0 answers
10 views

I have a function that uploads files to from a listings platform. Users can upload multiple files at once and each can be about 10mb in size I have tried adding celery to upload the files in the ...
Kyamasam's user avatar
  • 371
0 votes
0 answers
27 views

I'm working on a drf app where I need to use celery. I'm trying to run a simple task to make sure the set up is solid for later. settings.py: CELERY_BROKER_URL = 'redis://localhost:6379/0' ...
Mike D Hovhannisyan's user avatar
0 votes
0 answers
66 views

I have a queue in RabbitMQ broker called queue-ktm of type quorum. There are tasks pushed to this queue and available. I run a celery worker to consume from this queue with following configuration: ...
Azima's user avatar
  • 4,161
0 votes
1 answer
78 views

I'm on a very slow internet connection, and the RUN pip install -r requirements.txt step of docker compose up --build keeps timing out halfway through. When I run docker compose up --build again, it ...
Nils's user avatar
  • 430
1 vote
0 answers
216 views

This is my first time attempting to deploy Celery workers to GCP Cloud Run. I have a Django REST API that is deployed as a service to cloud run. For my message broker I'm using RabbitMQ through ...
Acheese's user avatar
  • 101
2 votes
0 answers
81 views

I have a celery tasks in my application but when I try to query the database in the functions, some of them returns Does not exist or None @shared_task def email_on_assign_reviewer(submission, ...
Ayatoo's user avatar
  • 53
0 votes
0 answers
45 views

I have a following logging config: "root": { "level": "ERROR", "handlers": ["console", "server_file"], }, "handlers": { ...
Azima's user avatar
  • 4,161
0 votes
0 answers
64 views

I'm using Celery to consume messages from SQS queue. The queue is Standard type. There are cases [exceptions caught] when I explicitly re-enqueue tasks back to the queue. def run(self): ...
Azima's user avatar
  • 4,161
0 votes
0 answers
44 views

I have a loop in a Django application where I process a list of records and send periodic progress updates to the frontend. I'm using async_to_sync from Django Channels to send messages through the ...
fabvn's user avatar
  • 1
0 votes
0 answers
65 views

I am using Celery with Django. My broker is Redis, and the task results are stored in the database. I run Celery using the following command: celery -A core worker -Q celery,send_sms --autoscale=10,0 -...
sadng's user avatar
  • 21
2 votes
2 answers
58 views

I have a Post model. There is a field publish_date. If the post has a planned status, then i need to perform the publishing function on the publish_date. How can I do this? models.py: class Post(...
Timofey's user avatar
  • 121
1 vote
0 answers
32 views

I wonder whether there could be difference between the following code snippets from some_module.sub_module import some_function @app.task(soft_time_limit=16, time_limit=18) def call_function(): ...
Paul R's user avatar
  • 2,837
0 votes
1 answer
81 views

In my application, I want to run some function once after a certain time interval since the object is created. Is django-celery-beat the right tool for doing this?
Sherlock Holmes's user avatar
0 votes
1 answer
134 views

I’m building an API that registers tasks to Celery, and I want to implement a conditional workflow based on the results of the tasks. Specifically, I need to execute Task B if Task A returns a certain ...
Mohammad_Moataz's user avatar
0 votes
0 answers
19 views

Considering a task from celery import Celery from django.conf import settings app = Celery( 'api', broker=settings.CELERY_BROKER_URL, backend=settings.CELERY_BROKER_URL, timezone=...
Herbert's user avatar
  • 5,685
3 votes
1 answer
199 views

I'm using Django with celery on Heroku with Redis. I have two queues, called 'celery' and 'letters' I have two worker types on Heroku worker (Dyno with lots of RAM). It can run tasks from both queues ...
Kritz's user avatar
  • 7,341
2 votes
0 answers
108 views

I’m facing an issue with my Celery + Redis setup for a Django project where the number of Redis commands being executed is skyrocketing despite having made several optimizations. I’m using Upstash ...
taha khamis's user avatar
0 votes
1 answer
56 views

I'm working on a Django Channels project that requires Redis as the channel_layer. However, I've discovered that Redis is not natively supported on Windows, as it's primarily designed for Linux ...
Hamza Malik's user avatar
0 votes
1 answer
94 views

I'm using Celery 5 for task scheduling in my application, with tasks configured to run periodically every 10 minutes. However, I've encountered an issue where, due to server downtime or a backlog in ...
dowjones123's user avatar
  • 3,867
0 votes
1 answer
75 views

I'm working on a task where I need to schedule my application to execute at regular intervals using Celery Beat schedule. The main issue I'm facing is that Celery is not triggering my application at ...
Vijay Bokade's user avatar
1 vote
0 answers
41 views

class CreateAccountView(APIView): permission_classes = [] def post(self, request): print(request.data) email = request.data.get('email') if User.objects.filter(email=...
AJAS KM's user avatar
  • 11
0 votes
0 answers
39 views

I am running one simple celery task task_list = [a.s(id) for id in id_list] a_callback = callback_function.s() chord(task_list)(a_callback) so when the task list is lets say 1-2L items, the table ...
Talk is Cheap Show me Code's user avatar
0 votes
0 answers
167 views

I am using Celery for asynchronous task processing in my Django application. Some of my tasks involve handling large amounts of data passed as task_kwargs. However, I have noticed that when the ...
AlexDotis's user avatar
  • 334
0 votes
1 answer
56 views

Celery eats up RAM. We're using Celery in Django REST with Redis as the broker. Celery is used to send and retry sending callbacks, if unsuccessful (retry policy was to try sending callbacks with ...
Mikhail Beliy's user avatar
1 vote
0 answers
185 views

Recently I noticed that celery eats up a lot of memory in the server. One instance eating like 10% of mem in processed I see quite default situation: /usr/local/bin/python -m celery -A apps worker -l ...
Al Schack's user avatar
  • 399
1 vote
0 answers
56 views

How to run spiders sequentially (one after another) with a 2-minute interval in my task? signals.py @receiver(post_save, sender=ParseCategoryUrl) def start_parse_from_category_url(sender, created, ...
Kirill's user avatar
  • 93
0 votes
1 answer
625 views

I am having a little trouble dockerizing Celery alongside my Django project. Recently I had the need to add Celery to my projects, and I have worked with it prior, but not in a Docker environment. I ...
72mins's user avatar
  • 90
1 vote
1 answer
29 views

The following code of get_queue_length gives queue length as zero all the time but when I run the same set of command in Django shell it works fine and gives total number of object in the queue import ...
Talk is Cheap Show me Code's user avatar
1 vote
0 answers
75 views

I am using a similar orchestration pattern as what's described in this Stackoverflow question: celery chord with group of chains with exception in chain The key orchestration code is this, which I've ...
thebossman's user avatar
  • 4,718
0 votes
1 answer
26 views

I have a Celery task called my_task. I create multiple exeucutions of the task by calling my_task.delay() multiple times. I want to give a unique label/name to each execution, and to be able to get ...
Software Dev's user avatar
  • 1,112
0 votes
1 answer
133 views

How can celery use Django ORM? Celery and django are diffent processes. But, Celery worker can use Django Application code.(ORM, Model..) I think celery process have django application code. Is it ...
miner's user avatar
  • 3
0 votes
0 answers
220 views

I'm working on a project that uses Django, I'm a beginner with Django and Docker. For a feature, I decided to create a task with Celery (the feature consist to create a matchmaking queue) But, I use ...
Nimpô's user avatar
  • 5
1 vote
0 answers
116 views

I'm trying to use celery to handle the heavy task of creating a new qdrant collection every time a new model is created, I need to extract the content of the file, create embedding and store it in ...
OzoneBht's user avatar
0 votes
1 answer
294 views

I have a Django project in which i'm running some background tasks with celery, one of my goal is to show real-time stdout of the running task so that the user can see the progress. the issue is that ...
Ritik Tyagi's user avatar
1 vote
0 answers
66 views

I'm encountering a scenario where a single endpoint is receiving multiple concurrent requests for image uploads. Upon successful upload, two counters need to be incremented synchronously. Initially, I ...
hemant kumar chaudhary's user avatar
0 votes
1 answer
98 views

That's my libs: celery==5.3.6 django-celery-beat==2.5.0 django-celery-results==2.5.1 redis==5.0.1 settings.py: INSTALLED_APPS = [ "django.contrib.admin", "django.contrib.auth&...
marsho5's user avatar
0 votes
2 answers
211 views

I am trying to run django celery and celery beat. After I start celery and celery beat this process is running every second. Is this normal? celery-1 | [2024-03-10 16:08:11,479: INFO/MainProcess]...
Sujay S Badge's user avatar
0 votes
1 answer
329 views

I am facing issues with storing files in S3 from django's celery task. I am doing following things Get data from DB Create the XLSX file with BytesIO Storing that file with file.save method of Django ...
deep adeshra's user avatar
0 votes
0 answers
155 views

I've just started work on a project that uses Django & Celery. I'm quite new to both. One of the endpoints has code that looks like this: task_do_something.delay() return Response( {&...
Maryam Khan's user avatar
1 vote
1 answer
473 views

I am using the redis-server as part of a Docker stack in a Django project that uses Celery Beat for scheduled tasks. While monitoring the processes with the htop command, I noticed that the memory ...
xSkolz's user avatar
  • 93
0 votes
0 answers
78 views

We are facing the issue fetching the data from particular schema's table which is available and the data fetching issue occurs intermediately after few hours of restart of supervisorctl where celery ...
Chaitanya Punwatkar's user avatar
0 votes
1 answer
1k views

I am using Django with celery beat. I would like to configure the cron schedule via env var (string value of the cron). We are currently setting the cron schedule like this, using celery.schedules....
threewordphrase's user avatar
0 votes
1 answer
2k views

I'm facing a problem where I can't set up periodic tasks in my application in django framework using Celery. I've literally tried everything i could find adressing this issue on the internet, ...
ianswings's user avatar
1 vote
1 answer
1k views

I have lots of async code which is used for websocket connectons. Idea is simple: fetch data from websocket, calculate some math and do lots of io. data = await websocket.recv() # Do some math ...
Vladislav's user avatar
3 votes
1 answer
683 views

I am unable to get my Celery working running while connecting to an SQS Encrypted Queue This is my settings.py for my django project SQS_AWS_ACCESS_KEY_ID = 'xxxx' SQS_AWS_SECRET_ACCESS_KEY = 'xxxx' ...
stackoverflow1234's user avatar
0 votes
0 answers
122 views

The user uploads the file to the form, after which the form with the file is sent to the server, and upon successful validation, I perform the following actions: def form_valid(self, form): ...
Mikhailo's user avatar

1
2 3 4 5
35