Mosslog

Systems, Linux, and personal field notes.

SQLite WAL Mode in Small Single-Node Services

Enabling PRAGMA journal_mode=WAL; and keeping busy_timeout=5000 eliminates almost all write-lock hiccups for read-heavy background workers without reaching for an external database server.

Notes on Tuning Linux TCP Keepalives & BBR

For long-lived connections over variable mobile links, pairing fq + bbr congestion control with conservative socket timeouts improves tail latency while keeping idle memory overhead flat.

Minimalist Off-Site Backups with Restic

Daily systemd timers running incremental snapshots with strict retention policies (--keep-daily 7 --keep-weekly 4) make small VPS migrations straightforward and predictable.