Linux CPU & memory triage Load rises while the CPU still has headroom The import job is busy, the host load average is rising, and several CPU cores are idle. Rae looks at the checkout queue and asks a narrower question. Who is ready to run, and who is waiting for a page? During an ordinary ten-second interval the workload reports twenty-five milliseconds of memory stall time. During the import the same measure reaches fifteen hundred milliseconds. That is one and a half seconds of observed stall time in this window. Host utilization reports how busy resources were over an interval. Saturation describes work waiting for them. Run queue in context Linux load average includes runnable work and tasks in uninterruptible sleep, so a high load average does not by itself identify CPU demand. Measure pressure and queueing at the boundary where the service runs. A host load graph rises while its CPU graph stays well below full. Runnable tasks and certain uninterruptible waits can both contribute to Linux load average. Take one affected worker at a time. Determine whether it is executing, ready for a processor, or stalled while it waits for some resource. Separate runnable work from stalled work During a batch import, load average increases but many CPUs remain idle. Inspect runnable versus blocked tasks, memory pressure, disk waits and control group limits. A large working set can cause repeated reclaim and stalls while CPUs wait. Test a bounded reduction in import concurrency and see which counters move with user latency. Picture four workers on a host reporting half of its processors idle. All four workers may be pinned to the same two busy cores. Alternatively, they may all be asleep waiting for the same backed-up file operation. Test both explanations with effective affinity, runnable delay and a representative wait stack. Host-level idle time is compatible with both cases. A measurement becomes useful when you can name the explanation it would eliminate. Read the measurements A larger working set can start a chain. Reclaim scans pages. Some work is delayed while pages are recovered. User latency rises even when the CPU chart leaves apparent headroom. Compare memory pressure in the worker's resource group with major faults and storage waits over the same seconds. They report different events. Pressure stall time accumulated over ten seconds can be expressed as a fraction of the observation window under a clearly named pressure metric. One and a half seconds out of ten describes substantial disruption. It does not mean that fifteen percent of all physical RAM disappeared, or that every thread stalled for the same time. Shrink one working set Which result would make memory pressure more plausible than a shortage of processor capacity? Reduce the import's concurrency in a bounded trial. If its working set was forcing reclaim, memory stalls and interactive tail latency should ease together. If runnable queues remain long at the group's quota, investigate scheduler capacity separately. If memory and I O stalls stay flat while runnable demand rises, inspect group bandwidth limits and core placement. Check the competing explanation Separate pressure for some work from pressure for all eligible work, and record the resource and scope you queried. A host-wide reading can be diluted by healthy workloads. If the failing service is isolated in a group, compare its own pressure with the parent before purchasing more host memory. After any capacity change, compare completed work as well as latency. If the system sheds most incoming jobs, the few it finishes may become fast while the user experience deteriorates. Keep offered requests, completed requests and errors attached to each pressure trace. That prevents an apparent recovery caused only by reduced work. Protect the interactive traffic The example falls to thirty-nine milliseconds of memory stall time per ten seconds. Load mixes different waits. Memory stall evidence identifies a distinct bottleneck that extra cores may not relieve. Rae records import completion as well as checkout latency. Moving all the delay onto the background job still has a cost someone must own. Apply the diagnosis Test by reducing one canary worker's working set while keeping the incoming job mix comparable. If pressure and latency both fall, you have evidence to pursue memory. If memory pressure is flat but workers spend longer runnable, return to quota and scheduling. A change to a request mix can otherwise imitate a successful fix.