Systems and Services: Eight Guides on Limits, Restarts, and Reloads
Eight guides about the systems that run your code: the limits that throttle or kill a process, the restarts that bring a service back, the reloads that swap config without dropping traffic, and the build tools that tax every rebuild.
Written November 11, 2026 · Tested with Ninja 3.437 · 3 min read
- What this page is
- Limits: what a quota or a cap does (2 guides)
- Restarts and missed runs (2 guides)
- Reloads and rotations (2 guides)
What this page is
An index of the eight guides on the site about the systems around your code: the limits the kernel enforces, the restarts that bring a service back, the reloads that change a running service, and the build tools that run before any of your code does. Each line states what the guide measures, in the guide's own words, and links to the guide, which carries the full code, the probe output, and the measured numbers.
Limits: what a quota or a cap does (2 guides)
- cgroup v2 CPU Quota: What Actually Happens When the Throttle Bites, Measured; A 50% CPU quota makes the same fixed work take 1.92 times as long; a 25% quota makes it 3.95 times as long. The CPU time is nearly flat, and almost every 100 ms period is throttled.
- cgroup v2 MemoryMax: What Actually Happens When a Process Hits the Limit, Measured; A process that crosses a 128 MiB MemoryMax cap dies in about 25 milliseconds, with memory.peak exactly at the cap and almost no pressure stall. The same allocator under a 96 MiB MemoryHigh throttle takes about 101 seconds per 16 MiB step instead.
Restarts and missed runs (2 guides)
- How Fast Does systemd Restart a Crashed Service? Restart=always vs on-failure, Measured — and the Crash Loop It Refuses; With RestartSec at its 100 ms default, systemd takes 0.252 seconds to restart a crashing service. The delay is a minimum, and systemd adds about 0.15 seconds of its own. The default start limit stops the loop after 5 restarts.
- systemd Timers vs Cron: What Actually Happens When a Run Is Missed; A systemd timer stopped for 34 seconds fired exactly once when it came back, one run for four missed elapses, while cron fired zero times for a minute already past. A 10-second timer with AccuracySec=30s ran 2 of 8 elapses when the offset was 8.87 seconds.
Reloads and rotations (2 guides)
- nginx Reload vs Restart: What Actually Happens to In-Flight Requests; A reload dropped zero requests in three loops of about 26,000 each, with the longest pause 0.040 seconds. A restart dropped about 4,000 connection attempts per loop and left a 0.22-second hole.
- Logrotate copytruncate vs create: Measured What Happens to a Live Writer; Under create, 7,087 lines land in the rotated file and 0 in the new one. Under copytruncate, 50 lines vanish in a 56 ms window. Measured on logrotate 3.21.0.
Build tax: what the toolchain costs (2 guides)
- Your Docker Build Context Taxes Every Rebuild — Even the Cached Ones; A 1 GB build context slows a no-change, fully cached Docker rebuild from 0.66 s to 2.72 s on the classic builder, for a byte-identical image. One .dockerignore line restores 0.63 s.
- Ninja vs GNU Make, Measured: the Clean Build Is a Wash — the No-Op Isn't; Same 200-file C++ project, same compiler, 32-way parallelism: the clean build is a wash (Ninja 3.437 s vs Make 3.566 s), the no-op rebuild is 11 times faster under Ninja (0.014 s vs 0.154 s), and both binaries are byte-identical.
Also on the site
- Measured Comparisons: 30 Head-to-Head Guides, November 9–10, 2026 — the full measured series, including all eight guides above.
- Concurrency, Async, and Waiting: Fifteen Guides on Threads, Coroutines, and Waking Up — a topical cross-hub on a different theme.
Related guides on this site
Keep Exploring
Paste a [Service] section and get a plain-language verdict on every sandboxing setting it finds.
Paste sshd -G output and get a hardening verdict on the values your server actually runs.
Paste a server block and get WebSocket, TLS, HSTS, and proxy-header verdicts.
Paste a systemd timer expression and get the specific reason it fails, the normalized form, and the past-date traps the built-in check hides.
The full sysadmin hub \u2014 systemd, cgroups, file tools, and measured Linux comparisons.