I've a python celery-redis queue processing uploads and downloads worth gigs and gigs of data at a time.
Few of the uploads takes upto few hours. However once such a task finishes, I'm witnessing this bizarre celery behavior that the celery scheduler is rerunning the just concluded task again by sending it again to the worker (I'm running a single worker) And it just happened upto 4 times on the same task! (My CELERYD_PREFETCH_MULTIPLIER is set to 1)
Can someone help me debug why is this happening and how can I prevent it?
The tasks are definitely finishing cleanly with no errors reported just that these are extremely long running tasks.