The “CHECK in NumPossibleCPUsNoCache” error typically occurs when TCMalloc is unable to access system information about CPU cores. One possible hypothesis is that OS hardening policy on your host is restricting access to certain system files in this case /sys/devices/system/cpu/possible which contains information about CPUs that have been allocated resources and can be brought online if they are present in the system.

Starting in MongoDB 8.0, MongoDB uses an upgraded version of TCMalloc that uses per-CPU caches i.e to say TCMalloc implements a per-CPU caching mode, where each logical CPU in the system has its own cache for memory allocation. The information from the file /sys/devices/system/cpu/possible helps TCMalloc determine how many CPU caches to create.