Inconsistent CPU and memory usage spikes on a Heavy Forwarder causing Out Of Memory issues
Diag vs. OS CPU Core Reporting
The diag output from Splunk showed only 8 available CPUs.
However, the OS reported 16 CPUs, based on the configuration:
Cores per socket: 2, Sockets: 8, and Threads per core: 1 → 2 × 8 = 16 CPUs.
Understanding Physical vs. Logical Cores
Splunk identifies usable CPUs based on what the OS and splunkd process can access.
Some environments use hyper-threading, where a single physical core acts like two logical (or virtual) CPUs.
In this case, only 8 physical CPU cores were actually available to Splunk, making the instance under-provisioned for the 12-core minimum requirement.
Validate CPU Allocation
Confirm that the VM host allocates at least physical CPU cores to meet Splunk’s minimum requirements.
To obtain the physical CPU Cores on a particular machine, access the CLI and run this command:
lscpu
The physical CPU Cores appear under Cores(s) per Socket.
| Revision | Publish Date | Comments |
|---|---|---|
1.0 |
01-Oct-2026
|
Initial Release |