Skip to main content
KUTT REDIRECTEDGE LAB // REDIS 302 RPS & POSTGRES PARTITIONING STUDIO KUTT V3 + SHLINK ROADRUNNER | HOSTINGER KVM | VULTR HIGH FREQUENCY | 2026-10-27
KuttLinkVPS
KuttLinkVPS Affiliate Notice: Outbound /go/ links marked rel="sponsored" may earn a partner commission at zero added cost (Affiliate Policy).
Redirect & DB Tuning

Preventing Shlink RoadRunner Worker Memory Creep With max_jobs

Cap long-lived RoadRunner PHP worker RSS growth during sustained multi-million-click campaigns using deterministic max_jobs recycling.

max_jobs=10000 · ~62 MB Steady RSS · Zero Dropped 302s

Preventing Shlink RoadRunner Worker Memory Creep With max_jobs
Shortener telemetry baseline verified 2026-10-27 by RedirectEdge Lab.

Why Persistent Workers Slowly Accumulate RSS

Because RoadRunner keeps PHP processes alive across thousands of requests, ORM identity maps, logging buffers, and MMDB caches gradually fragment heap memory over weeks of continuous traffic.

Graceful Zero-Downtime Worker Recycling

Setting max_jobs: 10000 and max_worker_memory: 256 instructs RoadRunner to drain and respawn one worker at a time after 10,000 redirects, keeping cluster RAM flat without dropping a single client request.

Measured Thresholds & Shortener Stack Parameters

RoadRunner SettingUnbounded DefaultProduction Recommended
pool.max_jobs0 (never restart worker)10000 (graceful recycle)
pool.supervisor.max_worker_memoryDisabled256 MB hard ceiling
Steady-State Worker RSSCreeps to 400+ MB over daysHolds flat at 62-95 MB
max_jobs=10000 · ~62 MB Steady RSS · Zero Dropped 302s Deploy Hostinger KVM ($4.99/mo)Vultr HF NVMe