I use Celery/RabbitMQ for asynchronous task execution with my django application. I have just started working with Celery.
The tasks execute and everything works perfectly once I start the worker.
The Problem is that the tasks execution stops sometime later. After couple of hours, a day or sometimes couple of days. I realise that only from the consequences of incomplete task executions. Then I restart celery and all the pending tasks get executed and everything is back to normal.
My questions are:
- How can I debug (where to start looking) to find out what the problem is?
- How can I create a mechanism that shall notify me immediately after the problem starts?
My Stack: Django 1.4.8 Celery 3.1.16 RabbitMQ Supervisord
Thanks, andy