It looks like celery does not release memory after task finished. Every time a task finishes, there would be 5m-10m memory leak. So with thousands of tasks, soon it will use
This was an issue in celery which I think is fixed.
Please refer: https://github.com/celery/celery/issues/2927