BitPage

Technical blog

BitPage

A technical engineer's blog: real problems, real fixes, real numbers. Backend, databases, infra, incident post-mortems, security, AI-native workflows.

4 articles
7 tracks
18 tags

Recent

Mass segfaults on a ZFS host: not bad RAM, an unsigned underflow in zfs_fillpage()

A host that answers on no port while the kernel keeps logging is not failing memory. In OpenZFS before 2.4.4 and 2.3.9, zfs_fillpage() computes io_len = i_size - io_off in unsigned types: race an mmap read against an in-place truncate and the length underflows, so dmu_read() zero-fills physical memory far past the page. Fixed on 21 August 2026 in 2.4.4 and 2.3.9 — but not in 2.2.11, released the same minute.

How to migrate a stateful Docker app off a server with a dying disk

Treat a disk that fails on writes as read-only: stream pg_dump over SSH to the target, pull EOL images from the registry instead of rebuilding them, and anchor rsync excludes with a leading slash. Notes from moving a Docker app of some fifteen services with a PostgreSQL database on the order of ten gigabytes.

Tracks

Tags