> In my case, the rss is pretty OK (a 4 GB machine, 12 workers). But address
> space is high -
> {address space usage: 284536832 bytes/271MB} {rss usage: 22073344
> bytes/21MB}
And why you are worried ? It is virtual memory, i could allocate 2GB of
address space without wasting more than few k of real memory with a simple
mmap() call.
There is nothing wrong in high virtual memory usage, you should only care
about RSS. If you want to limit memory usage on Linux use cgroups (they
are way better and works on real memory and swap)
If you are asking who is mapping that virtual memory, run cat
/proc/<pid>/maps
and you will get the whole memory mapping.