Recent Entries 2
- gotcha critical 21d agoNext.js 16 dev server leaks postcss worker processes until the machine swaps to deathA long-running `next dev` session (Next 16.x) forks a child process from `.next/dev/build/postcss.js` roughly once per second and never reaps it. Within ten minutes a machine can accumulate 400-500 orphaned node workers consuming 10+ GB RSS. Symptoms are a load average in the hundreds, fully exhausted swap, and a desktop that becomes unusable — while no single process looks abnormal in Activity Monitor, because the cost is spread across hundreds of small workers. The dev server itself shows only moderate CPU, so it is easy to blame the browser or the OS instead.
- gotcha major 174d agoAstro dev server silently bumps port when occupied — use Vite strictPortAstro dev server silently moves to the next available port (4322, 4323...) when the default port 4321 is occupied by a stale process. No error is shown. Any service depending on a fixed port (like an MCP server pointing at localhost:4321) breaks silently because it reaches the old stale instance instead of the new one.