Tasks in the queue are not being processed
See original GitHub issueHi, I’m not sure if I’m misunderstanding something about how django-q works, but any tasks which I push on to the queue using async() seem to just stay in the queue and never get processed, and I’m not sure why.
Here’s an example of how I’m pushing tasks onto the queue:
async('django.core.mail.send_mail',
'Test Subject',
'Test Message',
'from@example.com',
[user.email])
Below you can see that the tasks are getting registered to the queue, but they just stay in the “Queued tasks” and never get processed.
My configuration for django-q is:
Q_CLUSTER = {
'name': 'DjangoORM',
'timeout': 30, # Timeout in secs for a task
'save_limit': 10, # Store latest 10 results only
'orm': 'default' # Django database connection
}
Issue Analytics
- State:
- Created 7 years ago
- Comments:8
Top Results From Across the Web
Why is the task.queue not being processed? - Hivelocity Hosting
It should be deleted every minute. If it exists, check it's contents. If there are more than just 1 or 2 lines, then...
Read more >Solved: NiFi tasks are queued up but never being processed...
When I feed that to the FetchAzureBlobStorage processor however, the queue starts to fill up but not a single task in the queue...
Read more >The task.queue is not being processed | Knowledgebase
The task.queue is not being processed. 1) check for /usr/local/directadmin/data/task.queue. It should be deleted every minute.
Read more >Google Cloud Tasks: some tasks remain in queue instead of ...
New incoming tasks are processed as usual but those ones are blocked and stay on the queue for some minutes, even when worker...
Read more >task.queue is not being processed - DirectAdmin Forums
hello, task.queue is not being processed on my server , i read and did instruction on this guide : but problem exist again......
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

Disregard; as I suspected, I was misunderstanding how to use
django-q. I wasn’t running thepython manage.py qclustercommand so I never had a cluster running to actually process tasks in the queue.It might be beneficial to update the docs so that the “Installation” or “Configuration” sections include some brief instructions or just a mention that the user needs to manually start the cluster so that queued tasks get processed. As someone who had no prior experience with this sort of async queueing functionality before, I didn’t actually know this was necessary. It was only when I went through every section of the docs that I eventually realised I needed to manually start the cluster when reading the “Cluster” section.
I have the same problem the task in the queue are not processed, but the task in scheduling are processed.
The cache is
memcache 1.5.16