memory consumption

Alexey zen.supagood at gmail.com
Mon Mar 29 09:26:14 EDT 2021


понедельник, 29 марта 2021 г. в 15:57:43 UTC+3, Julio Oña:
> It looks like the problem is on celery. 
> The mentioned issue is still open, so not sure if it was corrected. 
> 
> https://manhtai.github.io/posts/memory-leak-in-celery/ 

As I mentioned in my first message, I tried to run
this task(class) via Flask API calls, without Celery. 
And results are the same. Flask worker receives the API call and
executes MyClass().run() inside of view. After a few calls 
worker size increases to 1Gb of RAM. In production I have 8 workers,
 so in idle they will hold 8Gb.


More information about the Python-list mailing list