Floe Notes

Systems Engineering Reference Cheatsheets

Concise production defaults, verification commands, and subtle edge-case notes distilled from everyday Linux host maintenance and embedded database tuning.

SQLite WAL & Safe Backups

Write-ahead logging pragmas, busy timeouts, checkpoint starvation limits, and atomic online snapshots without halting readers.

Open SQLite checklist →

HTTP Caching Semantics

Immutable build asset headers, conditional revalidation with ETag and 304 responses, and avoiding mixed Vary keys.

Open HTTP caching guide →

systemd Timers & Sandboxing

Persistent timers with jitter, MemoryMax boundaries, and read-only filesystem protections audited via systemd-analyze security.

Open systemd notes →

Quick Triage One-Liners

Common low-overhead commands used before reaching for heavier profiling harnesses:

Question Command Signal to Inspect
Which process holds open deleted files?lsof +L1 /varLarge deleted logs still consuming unlinked inodes
Are timers drifting or missed after reboot?systemctl list-timers --allLAST vs NEXT intervals and Persistent=true wakeups
Which unit consumed recent disk writes?systemd-cgtop --order=ioSustained throughput per cgroup slice
Verify SQLite integrity offlinesqlite3 db.sqlite "PRAGMA quick_check;"Returns single line ok across all B-tree pages

Guiding Principle

Prefer declarative operating system primitives over bespoke watchdog scripts. Every configuration line documented in these three topic notes relies strictly on built-in kernel, SQLite, RFC 9111 HTTP semantics, and standard service manager features.