2GB of Zombie Shared Memory Nobody Reclaimed: Linux IPC Mechanism Selection and Production Troubleshooting Journal

Overview At 1:47 AM, an alert popped up: 192.168.10.23 shared memory usage > 1.5GB. I logged in, ran ipcs -m, and found 14 shared memory segments — 9 of them with nattch=0 (no process attached), yet holding nearly 2GB of physical memory. Worse, ipcrm -m deleted 3 of them, but the rest returned Operation not permitted — the processes had exited a month ago, yet these “zombie segments” refused to leave....

September 10, 2026 · 22 mins · 4513 words · Xu Baojin

Error Budget Depleted, PM Still Pushing Releases: Three-Tier Gates Turning Reliability into Hard Product Decision Constraints

Overview You’ve probably been here: SLO set at 99.9%, error budget calculated, Grafana dashboard looking sharp. Then Friday afternoon, with the budget 87% consumed, the PM shows up carrying the boss’s mandate: “This feature must ship Monday.” You say no, the budget’s almost gone. PM asks “Then when?” Thirty minutes of arguing later, it ships anyway. Monday night, it blows up. This isn’t an isolated case. I’ve seen too many teams turn error budgets into “ops’ dashboard”—metrics defined, alerts configured, dashboards painted—but the moment a decision needs to be made, the whole thing collapses....

September 10, 2026 · 22 mins · 4527 words · Xu Baojin

Pods Stuck Pending After IP Pool Exhaustion: 5 Production Decisions for TKE Network Selection and Node Pool Governance

Overview 2 AM, phone buzzing with alerts. I open it up — 40+ pods in the TKE cluster suddenly enter Pending state, business APIs timing out across the board. A quick kubectl describe pod reveals the scheduling failure reason, crystal clear: Insufficient tke.cloud.tencent.com/eni-ip. This wasn’t some exotic technical puzzle. The root cause was straightforward: under VPC-CNI mode, the auxiliary IPs bound to the elastic network interfaces (ENIs) on the nodes were exhausted....

September 8, 2026 · 17 mins · 3587 words · ABao

Don't Manage Your Infrastructure Twice: The Terraform + Ansible Collaboration Boundary and 5 Production-Grade Decisions

Overview 2 AM, the alert channel exploded. A web server that went live two hours ago was at 100% CPU. SSH in — Nginx wasn’t installed, but an old Apache was squatting on port 80. Checked the deploy logs: Terraform had run terraform apply ten minutes ago, rebuilding the machine (someone changed instance_type), but Ansible’s configuration playbook never followed — fresh machine, all software configs gone. This isn’t an isolated incident....

September 5, 2026 · 22 mins · 4651 words · ABao

Pods Stuck for 6 Minutes After Network Partition Injection: Blast Radius Control and 5 Production-Grade Decisions in Fault Injection Testing

Overview Netflix says chaos engineering reduced major production incidents by 70%. Many teams have seen this number, but those who have actually run fault injection in production are rare. The reason is simple: fear. Inject a network partition and Pods freeze—what then? Simulate disk full and the database crashes—then what? Manually injecting faults at 3 AM and scrambling to roll back—that’s not a drill, that’s manufacturing an incident. During a K8s migration for a new-energy logistics platform with 120+ microservices, I needed to validate disaster recovery capabilities before the full cutover....

September 3, 2026 · 24 mins · 4936 words · ABao

Pushed an Image and Forgot About It? Harbor Artifact Repository: Permission Layering, Vulnerability Scanning, and 200GB Storage Governance

Overview 2 AM. Phone buzzed. Disk alert — 95%. Logged in and found the Harbor server’s /data/registry directory at 200GB, piled with 3,000+ tags. There was app:v0.0.3-beta from last year’s testing, app:feature-branch-xxx left over from failed builds, and ten copies of the same base image — each 800MB+. This isn’t an isolated case. I’ve seen the same script play out across multiple teams: once CI/CD is up and running, images get pushed but never cleaned....

September 3, 2026 · 15 mins · 3153 words · ABao

API Gateway Monitoring in Practice: Metrics Collection and Alert Design from Kong to APISIX

Overview At 2 AM, the payment system alerts exploded. After digging through logs for ages, we discovered the downstream services weren’t down — the API gateway’s connection pool was exhausted. Requests piled up at the gateway layer and never made it through. But our monitoring dashboard only showed CPU and memory curves, completely blind to gateway-level latency, connection counts, and error rates. This isn’t an isolated case. I’ve seen too many teams treat API gateways as “fancy Nginx” and only monitor nginx_active_connections, only digging into logs when things break....

September 1, 2026 · 18 mins · 3623 words · ABao

Don't Wait for the Crash to Check Monitoring: A Practical Methodology for Linux Performance Baselines and Anomaly Detection

Overview You’ve probably been here: woken up at 3 AM by a pager alert, scrambled to check Grafana, and found CPU usage spiked to 85%. You panic, investigate for half an hour, and finally realize — this database server runs a scheduled backup job every day from 2:50 to 3:10 AM. CPU is supposed to be at this level. What went wrong? You didn’t know what “normal” looks like for this machine....

August 30, 2026 · 23 mins · 4689 words · ABao

From "@ Ops in Chat" to Self-Service: 6-Layer Architecture and 4 Landing Phases for Platformizing 20+ Operations

Overview Friday, 4:30 PM. The business chat starts flooding: “@ops help me restart the order service” “@ops this endpoint is erroring, grab me the logs” “@ops is the disk full again? clear it for me” Three requests, three @s. The ops engineer puts down the inspection script they were writing, SSHs in, runs commands, pastes screenshots back to chat, then gets asked “is it done yet?” An afternoon, shattered. This isn’t an edge case—it’s the default mode of ops work in most teams: high-frequency, low-difficulty, heavily manual....

August 27, 2026 · 27 mins · 5653 words · ABao

The 3 AM Phone Rings Again: 7 Engineering Decisions for On-Call Rotation Design and Fatigue Management

Overview 3 AM. Your phone buzzes. P1 alert — order service 5xx error rate spiking. You drag yourself out of bed, fire up the laptop, pull logs, check Grafana, trace it to a saturated upstream database connection pool. Restart, scale up, recover. It’s 4:30 AM. The next morning, nursing dark circles in the standup, someone mentions that last night’s alert was actually a false positive. If you’ve worked in operations, you know this feeling....

August 25, 2026 · 24 mins · 4917 words · ABao