Skip to content

In development. Expect rough edges and changes. The source code is not public yet.

Red Hat Developer 15 min read How-to mediumAdept

The ultimate guide to analyzing and troubleshooting critical issues on Red Hat Enterprise Linux 8 and 9

A structured standard operating procedure for triaging critical production incidents on RHEL 8 and 9, starting from a severity matrix tied to Red Hat Support SLAs and moving subsystem by subsystem through system identity, CPU, memory/OOM, storage, disk I/O, systemd, networking/DNS, logs, SELinux, time sync, cron and resource limits. Each section lists concrete commands (vmstat, iostat, journalctl, ss, ausearch, chronyc, etc.) along with the anomalies to look for. It also flags common misreadings: load average is not CPU utilization, static swap usage is not an emergency, an active systemd unit does not mean the app is healthy, and a failed ping does not prove the host is down. It warns against intrusive fixes such as blind `mount -a`, filesystem repairs or disabling SELinux before capturing evidence for root cause analysis.

Related posts

  • 12 Golden Signals To Discover Anomalies And Performance Issues on Your AWS RDS Fleet

    Zalando Engineering mediumAdept

    Zalando condensed lessons from past incidents into 12 golden signals for judging the health of AWS RDS Postgres instances across CPU, memory, disk and database workload. The signals come with concrete thresholds: CPU utilisation above 40-60% and IO await above 5-10% tend to precede incidents, storage latency above 5 ms hurts SLOs and above 10 ms leads to incidents, and a cache hit ratio below 80% points to insufficient shared buffers or RAM. Swap activity, deadlocks, transaction counts and the ratio of rows fetched to rows returned round out the set. The open-source rds-health CLI automates checking these signals via AWS Performance Insights across accounts and regions, and also reports configuration and capacity planning.

  • Core dump epidemiology: fixing an 18-year-old bug

    OpenAI hardMaster

    Mysterious return-to-bogus-address crashes in Rockset's C++ execution layer turned out to be two unrelated bugs: silent register corruption on a single bad Azure host, and an 18-year-old race in GNU libunwind's _Ux86_64_setcontext, which read the synthesized ucontext_t after moving %rsp past it, letting a frequent SIGUSR2 CPU-time signal clobber it during exception unwinding. The breakthrough came from switching from close inspection of individual cores to population analysis: an automated pipeline classified every production core dump from the past year, and the clean data set separated the two crash clusters by region, start date and node age. Fixes included denylisting the host, logging register state in the fatal signal handler, reusing VMs to make bad-node detection easier, and patching libunwind.

  • Hardening eBPF for runtime security: Lessons from Datadog Workload Protection

    Datadog Engineering hardMaster

    Five years of running Datadog Workload Protection, an eBPF-based runtime security agent supporting kernels from 4.15 to 6.18, distilled into six production lessons. They cover getting programs to load, attach and keep firing across kernels and distributions; capturing and enriching data correctly; auditing eBPF use to reduce attack surface; coexisting with other eBPF users on a host; controlling performance cost; and shipping changes safely. Concrete pitfalls include verifier differences between kernels, inlined or renamed hook points, missed 32-bit compat syscalls and per-syscall tracepoints, and gaps from io_uring, openat2 and unusual exec paths like binfmt_misc. Mitigations include a CI matrix of tested kernels, the shared open source ebpf-manager Go library that refuses to start without a minimal set of loaded programs, and wrappers that hide verifier quirks.

  • Incident Report: Dec 1st, 2023

    Railway mediumAdept

    A misconfigured new metrics collection agent sampled every process on each host at high frequency, driving heavy kernel-to-userspace memory transfers. Those transfers triggered cascading CPU soft locks on 30% of Railway's US-West fleet even though resource usage stayed within thresholds, and the team suspects an acknowledged Google Cloud hypervisor bug. Hosts failed randomly and in bursts, so the agent was not suspected at first. Recovery needed manual restarts confirmed via serial console logs, taking 10–30 minutes per host, and workloads were down for 10 minutes to 1 hour with no data loss. Follow-ups include mandatory staged rollouts (10/25/50/100%) for all services, faster deployment feedback, and moving toward bare metal to gain visibility into the full stack.

  • 2023-03-08 incident: A deep dive into our incident response

    Datadog Engineering mediumAdept

    Datadog's March 8, 2023 global outage, triggered by an automatic systemd upgrade that broke Kubernetes nodes across isolated regions on multiple clouds, tested an incident process built on out-of-band monitoring, senior incident-commander rotations, blameless culture and a 30-minute customer update cadence. Response was slowed by the loss of Datadog's own monitoring, intermittent failures of the incident tooling, and the assumption that isolated regions could not fail together, so diagnosing the Kubernetes node failure took over an hour. The response scaled to nearly 100 workstreams and 500-750 engineers in shifts, with workstream leads acting as untrained sub-commanders. Full infrastructure restoration took until 18:00-19:00 UTC.

The quest for software engineering knowledge.

Look:
Layout: