Incident Scenarios
Production Incident Triage & Root Cause Analysis Scenarios
💬Answer
- Identify Bottleneck Process: Run
toporhtopto identify the processes consuming the most CPU. - Investigate Thread Details: Press
Hintopto view individual threads. - Trace System Calls: Run
strace -p <PID>to see system calls made by the process. - Identify Core Source: Match the process ID against logs. If it is Java, run
jstack <PID>to dump threads and identify code bottlenecks. - Mitigate: If the process is not critical, kill it (
kill -9 <PID>). Otherwise, scale up or restart the service.

Created by
Apurv Gujjar
DevOps & Cloud Engineer
Specialized in:DevOpsAWSGCPKubernetesTerraformDocker
View Portfolio