Cgroups mount might not be found in containers
Modern versions of docker/kubernetes do not appear to have /etc/mtab, in which case we will not find the cgroups mounts, and we might end up starting too many threads. It will not influence any results, but it could reduce performance when running in such containers.
I will upload a fix right away that just reads the same information directly from /proc/mounts instead.