We are seeing a strange phenomena on one of our servers where the /proc/cpuinfo is emitting different values for the "cpu core" fields frequently. /proc/cpuinfo correctly says there are 8 cpus (1 physical x 4 cores x 2 hyperthreading) however the cpu-cores field can be 4 (correct) or 65531, 65528, ... (not very correct). It seems to be the same virtual CPUs that report the bad numbers.
Why do we care? Well one of our 3rd party libraries is using fingerprints from /proc/cpuinfo for it's licensing and so is generating failures because the number of cores is changing.
- Has anyone seen this before?
- Any idea if it is a hardware or an OS bug?
- Any recommendations about how to diagnose and resolve the problem?
Thanks for any info.
Here's an example of output from the /proc/cpuinfo:
cpu cores : 4 cpu cores : 20 cpu cores : 20 cpu cores : 20 cpu cores : 4 cpu cores : 4 cpu cores : 4 cpu cores : 65528
lscpusay?