Question 330
At Cedar Logistics, an application reports periodic latency spikes after a nightly export; vmstat shows sustained si and so activity. The team is preparing a reversible change and needs a test that distinguishes the suspected fault from unrelated symptoms. Which Linux administration principle best explains the correct approach to this situation?
Explanation
Correct Answer
This principle explains why the proper response is: Inspect free memory, working-set growth, swap-in and swap-out rates, and process memory before tuning the workload. Verify the prediction by observing: Swap churn and growing memory demand align with export time, and a bounded workload change removes the stalls.
Incorrect Answers
One worker consumes nearly an entire core but machine-wide CPU graphs remain modest on a many-core host. Here, swap activity plus workload context is stronger evidence of memory pressure than free memory alone.
A virtual machine reports poor throughput although its guest CPU utilization is modest; monitoring shows high steal time. Here, swap activity plus workload context is stronger evidence of memory pressure than free memory alone.
A file-creation service receives ENOSPC while df -h shows significant free space on its ext4 volume. Here, swap activity plus workload context is stronger evidence of memory pressure than free memory alone.