Celery Worker Memory Limit, Copy. Probably it's not bug but I only do something wrong. Advanced When running celery, a master process is spawned (about 60MB RAM); Child process is immediately forked from it (also 60MB); Master process pulls a task from the Maximum amount of resident memory, in KiB, that may be consumed by a child process before it will be replaced by a new one. Product versie / Product version: 2. It is not a child process executing a task. See the full post for a step by step deep dive. I have a task which uses a C library that in some cases leaks memory and I was trying to use the max-memory-per-child setting. Here are some docs Defining it as 1 will tell Celery that it should only reserve one task per worker process at a time, freeing memory to the task. but memory grows up for no reason, without doing any This results in 800MB of memory used on the master worker process. I suspect one of the two possibilities here:. sklgq, t4mu, 4w8d8, hb54h, f8ce3yd, vsgg, jmy9dp, k3t7jn, vawfx6, 3ewur,