Celery - minimize memory consuption
Posted
by
Andrew
on Server Fault
See other posts from Server Fault
or by Andrew
Published on 2010-12-03T14:29:16Z
Indexed on
2011/06/28
8:24 UTC
Read the original article
Hit count: 305
We have ~300 celeryd processes running under Ubuntu 10.4 64-bit , in idle every process takes ~19mb RES, ~174mb VIRT, thus - it's around 6GB of RAM in idle for all processes. In active state - process takes up to 100mb of RES and ~300mb VIRT
Every process uses minidom(xml files are < 500kb, simple structure) and urllib.
Quetions is - how can we decrease RAM consuption - at least for idle workers, probably some celery or python options may help? How to determine which part takes most of memory?
© Server Fault or respective owner