troubleshooting flowchart
(°0°)
type of errors
1, downstream
2, config change
3, load change
top, htop
4, code change
5, memory leak
vmstat, free
6, CPU usage
mpstat
7, disk IO
iotop, iostat, sar
8, network failures
nc, netstat, traceroute/6, mtr, ping/6, route, tcpdump, ss, ip
9, hosts issues
Dmesg -- kernel errors
lspci, lsblk, lscpu, lsscsi,
/var/log/messages -- system app/service related errors
10, dns
dig, host, nslookup
11, app
strace
profiling
perf
12, http/https
curl, wget
13, other
lsof
sysctl
14, log
/var/log/messages -- system app/service related errors
Dmesg -- kernel errors
- filesystem
stat to check inode mount tree -L -2 /path
container
- network
docker network ls cat /etc/docker/daemon.json
- cgroup
Error response from daemon: Cannot restart container rsnmp_v4: OCI runtime create failed: container_linux.go:349: starting container process caused “process_linux.go:297: applying cgroup configuration for process caused "mountpoint for devices not found"”: unknown
check config
cgroupfs mount3. mount|grep overlay
k8s troubleshoot
another doc
tools