Questions tagged [djcelery]

For questions about djcelery, the django-celery pluggable app for Celery integration with Django.

djcelery refers to pluggable app for Celery integration with Django.

122 questions
1
vote
0 answers

OS Error on running django-celery as daemon

I need to run celery as a daemon. I am not using supervisor for this. Instead, I want to run celery with init on system start. Here is the traceback of the error I am getting on starting the celery with sudo /etc/init.d/celeryd…
sukantk
  • 45
  • 7
1
vote
1 answer

How to set http_headers on celery tasks calls via http

I want to make a task call via HTTP using the class HttpDispatch from celery, but i need to set Authorization header. How can i do this? from celery.task.http import HttpDispatch request = HttpDispatch( url='http://example.com/multiply', …
Cleiton Almeida
  • 452
  • 4
  • 8
1
vote
0 answers

User management of periodic tasks in django celery app

Django celery (djcelery) is considered obselete these days, but to me it seems to offer some unique features still. For example with djcelery one can allow the user to add a periodic task easily by creating an instance of their PeriodicTask. Is this…
fpghost
  • 2,834
  • 4
  • 32
  • 61
1
vote
1 answer

Celery Django Error in timer: OperationalError(2006, 'MySQL server has gone away')

I am using Django and celery to run some tasks. i have 6 workers with concurrency 1, and different tasks are sent to different workers. one of witch raises a Error in timer: OperationalError(2006, 'MySQL server has gone away'). system runs normally…
Marco Silva
  • 639
  • 7
  • 8
1
vote
0 answers

celery parallel processing for long time running tasks

I have long time running tasks in my live server. Tasks are involving in getting data from facebook and generating the PDF with reportlab PDF package. For these I have 3 workers with concurrency level of 5, so that I can able to execute 30 PDF…
1
vote
1 answer

use on_success and on_failure methon in django-celery

I am using djcelery. I have created one task. @celery.decorators.periodic_task(run_every=datetime.timedelta(minutes=2)) def add(x, y): cont= 0 print x print y for i in range(x, y): cont = cont+1 return cont i clalled it…
Wagh
  • 4,202
  • 5
  • 39
  • 62
1
vote
2 answers

How can I use djcelery.schedulers without Django project?

I want to use dynamic scheduler management for celery. I know djcelery have that functionality with database support. But currently I do not use Django, but Flask. I couldn't find out Flask project or implementation with djcelery.schedulers. Is it…
Jony cruse
  • 815
  • 1
  • 13
  • 23
1
vote
0 answers

Djcelery not working with xhtml2pdf - Mingle: all alone

Im trying to import xhtml2pdf in to my tasks.py file. But when ever I import it, no tasks gets done, as soons as I remove the import line, it works again. There is not error, its just does nothing. taks.py: from celery import task import…
Harry
  • 13,091
  • 29
  • 107
  • 167
1
vote
1 answer

Django with Celery: Getting the status from an undergoing task

I am currently testing Django with Celery. A periodic task is setup with a crontab to run the following task add: from __future__ import absolute_import from celery import task import time @task def add(x, y): print "Start : %s" %…
Antoine Brunel
  • 1,065
  • 2
  • 14
  • 30
1
vote
1 answer

django celery queue routing won't work

I have two tasks. the task "heavy_task" need a concurrency of 1 and the "lite_task" need a concurrency of 4 @task def lite_task(): tabla = Proc_Carga() sp = tabla.carga() return None @task() def heavy_task(idprov,pfecha): conci =…
joselegit
  • 533
  • 1
  • 14
  • 35
1
vote
0 answers

Django celery CPU uses and SIGNKLILL error

Hello All i am reciving below error. i have checked status of rabbitmqctl and its working good. but find below issue when run task in periodic. Also CPU consumption increase to 100%. please help me out of this issue. [2015-04-27 15:03:56,927:…
1
vote
1 answer

What is the difference between Revoke, Terminate and Kill when using djcelery?

I am using djcelery and django's admin site. If I want to stop a djcelery task that has started, do I use revoke, terminate or kill and what is the difference?
Jamneck
  • 443
  • 8
  • 14
1
vote
1 answer

Celery/Django transaction

Celery user guides suggests Django transaction be manually committed before calling task process. http://celery.readthedocs.org/en/latest/userguide/tasks.html#database-transactions I want the system to be as reliable as possible. What is the best…
user3761759
  • 715
  • 1
  • 5
  • 8
1
vote
1 answer

djcelery process keep exiting

I had a django project where i am using celery. But, when i start the celery worker by django using the command python manage.py celery worker it kept printing the error message about the thread exiting [2014-09-23 20:33:21,555: ERROR/MainProcess]…
jacky15
  • 41
  • 3
1
vote
0 answers

Running celery on windows

I'm working with Django and my development environment is Windows. Yesterday I spent the WHOLE day trying to make celery run on my laptop with RabbitMQ. I went through all the tutorials and nothing special was mentions about windows. I followed this…
tkazaz
  • 11
  • 2
1 2 3
8 9