Wow, 1100 to 1800 threads per an OSD process! That's embarrassing (there are better way to program
the state machine). Before ceph gets fixed to not abuse threads (which unfortunately is not going
to happen anytime soon) the only work around is to bump the maximal processes and threads number:
> https:/ /bugs.launchpad .net/mos/ +bug/1578827/ +attachment/ 4657164/ +files/ Screen% 20Shot% 202016- 05-06%20at% 204.24. 24%20AM. png
Wow, 1100 to 1800 threads per an OSD process! That's embarrassing (there are better way to program
the state machine). Before ceph gets fixed to not abuse threads (which unfortunately is not going
to happen anytime soon) the only work around is to bump the maximal processes and threads number:
sysctl -w kernel. pid_max= 1048576 threads- max=16777216
sysctl -w kernel.