Celery does not release memory

后端 未结 6 1933
小鲜肉
小鲜肉 2020-12-31 07:25

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

6条回答
  •  悲哀的现实
    2020-12-31 07:56

    You might be hitting this issue in librabbitmq. Please check whether or not Celery is using librabbitmq>=1.0.1.

    A simple fix to try is: pip install librabbitmq>=1.0.1.

提交回复
热议问题