Hi,
googleing for pthread_join leads to
http://www.ibm.com/developerworks/library/l-memory-leaks/ , an article about
memory consumption of POSIX threads (and potential leaks if rejoin fails).
From this, you can see that every thread needs at least memory for the stack.
It is said that the
This is my ulimits
core file size (blocks, -c) 0
data seg size (kbytes, -d) unlimited
scheduling priority (-e) 0
file size (blocks, -f) unlimited
pending signals (-i) 1048576
max locked memory (kbytes, -l) unlimited
max memory size
There is something very wrong with LXC in general, it does not matter the
OS or even the kernel version. My OS is Ubuntu 14.04.
I have a Centos 6.6 container with mysql and 50 instances of Asterisk 12.0,
plus opensips.
The memory is limited to 100G, but it does not matter if I limit it or not.
It