To identify a runaway process, which approach is recommended?

Prepare for the Google Data Center Technician Exam. Use our interactive quiz featuring flashcards and multiple choice questions with hints and explanations. Get exam-ready today!

Multiple Choice

To identify a runaway process, which approach is recommended?

Explanation:
When diagnosing a runaway process, the key is to locate what’s consuming resources and understand why before taking action. Start by using a tool like top to sort processes by CPU or memory so the heavy hitter becomes obvious, and note its PID. With that PID in hand, inspect related logs and the behavior of the associated service to determine whether the spike is a normal workload, a bug, or a runaway loop. Only after gathering this context should you consider restarting or terminating the process, and you should do so carefully to avoid disrupting important services or losing work. This careful, informed approach reduces the risk of collateral damage and helps you address the root cause. Jumping straight to killing the highest-CPU process without context can terminate a critical task or miss a legitimate spike, while using df to check disk usage doesn’t address CPU/memory runaway, and rebooting without investigation can cause data loss and service disruption.

When diagnosing a runaway process, the key is to locate what’s consuming resources and understand why before taking action. Start by using a tool like top to sort processes by CPU or memory so the heavy hitter becomes obvious, and note its PID. With that PID in hand, inspect related logs and the behavior of the associated service to determine whether the spike is a normal workload, a bug, or a runaway loop. Only after gathering this context should you consider restarting or terminating the process, and you should do so carefully to avoid disrupting important services or losing work. This careful, informed approach reduces the risk of collateral damage and helps you address the root cause. Jumping straight to killing the highest-CPU process without context can terminate a critical task or miss a legitimate spike, while using df to check disk usage doesn’t address CPU/memory runaway, and rebooting without investigation can cause data loss and service disruption.

Subscribe

Get the latest from Passetra

You can unsubscribe at any time. Read our privacy policy