Mauro Rocco

Luxembourg City, Luxembourg

toforge.com

Age: 28

Python and Django lover, occasionally book author. CeleryProject contributor and supporter

Apr
4
comment ERROR: Unrecoverable error: IOError(9, 'Bad file descriptor')
This might help github.com/celery/celery/issues/1115
Mar
28
answered Automatically invoking PHP code after asynchronous celery task is finished (celery-php)
Mar
28
answered How do I configure Celery to use separate BROKER_URLs for producing and consuming from the same broker?
Feb
19
awarded Necromancer
Feb
13
awarded Caucus
Jan
31
comment How can I set a specific broker for a Celery queue in Django?
This approach is surely the right one (that's why you get an upvote) but I would in general discourage the usage of different brokers, as the broker is made to take benefit of centralized routing and queue management. I don't see the benefits of using 2 brokers. You could maybe state this in your answer to make it more complete, if you agree.
Jan
28
awarded Popular Question
Jan
9
comment Django-celery and RabbitMQ not executing tasks
Well, as far as I can see from your configuration file you don't specify a different queue this means that the producer will use the default celery exchange and queue that is "celery", you have this queue and exchange ? (docs.celeryproject.org/en/latest/…) The exchange celeryresults is the one used to store back the results of the task not for the task itself.
Jan
8
comment Django-celery and RabbitMQ not executing tasks
Honestly it's hard to figure out. From the management console of RabbitMQ you should see what happen when scheduling the message from console. Shut down all consumers and just try to produce some messages manually from python console and see on which queue they fall on rabbitMQ. When you can prove that the message is in fact scheduled on the right queue than you can move to understand why is not being consumed.
Jan
6
comment Django-celery and RabbitMQ not executing tasks
Could be that messages are consumed immediately but this should be evident from other statistics. If you really want some help I suggest you to paste the settings, off course not with real IP and password :-)
Jan
5
comment Django-celery and RabbitMQ not executing tasks
If should check and maybe share here the 2 celeryconfig, the one on the servers where the worker are running and the one that you are using from console when scheduling the task. As you are using django-celery than the celeryconfig is the Django settings itself. Another thing you can do is to check rabbitmq management web console for queues that are always growing and never consumed, you can even check all the consumers subscribed to a queue. rabbitmq.com/management.html
Jan
5
comment celery worker does not retry task after calling retry()
Glad to hear that.If you can answer yourself the question and explain better the resolution.
Jan
3
comment python Django Celery project structure
Hi, maybe you could clarify why you are using an NFS mounting point, is just to share the code between the different servers ?
Jan
3
answered How to override send_task BaseTask class?
Jan
3
answered Celery truncates log messages
Jan
3
comment Django-celery and RabbitMQ not executing tasks
If I understand you correctly, you have only one task that is not executing while all the rest works fine ? If this is the case could be that the task is scheduled on a queue that is never consumed ?
Jan
3
comment celery worker does not retry task after calling retry()
Which celery version you are using ?
Oct
11
comment Django request.GET to display value of form field
I think this is another question than. Post it as a new question including your code. And post a link in the comment
Oct
10
answered Django request.GET to display value of form field
Oct
9
comment Django request.GET to display value of form field
The name field, is filled by the user or is coming from DB ? You want to put in the session after the clicking the button SUBMIT or BEFORE ? Explain the real scenario if you can.
1 2 3 4 5