Skip to main content
FINOPS DOCOCR COMPUTE // PAPERLESS-NGX OCR & PDF/A ARCHIVE STUDIO TESSERACT CONCURRENCY | TIKA + GOTENBERG | BASELINE 2026-11-17
PaperlessNGX
PaperlessNGX Affiliate Notice: Outbound /go/ links marked rel="sponsored" may earn a partner commission at zero added cost (Affiliate Policy).
OCR & Container Tuning

Sizing Gunicorn Web Workers & Whoosh Search Index Memory

Scale PAPERLESS_WEBSERVER_WORKERS for single-user home labs vs 15-person accounting teams without duplicating Python RSS unnecessarily.

~220 MB Base + 165 MB / Gunicorn Worker · Whoosh Memory Cache

Sizing Gunicorn Web Workers & Whoosh Search Index Memory
Telemetry baseline verified 2026-11-17 by DocOCR Compute.

Whoosh Index Growth With Document Corpus

Paperless-ngx maintains a Whoosh full-text index across extracted OCR text. For 250k+ documents, search queries load index segments into RAM, making 1,024-1,536 MB limits critical for the webserver container.

Separate Web Responsiveness From OCR Load

Keep at least 1 CPU core equivalent headroom or ionice/nice priority on consumer tasks so heavy Tesseract OCR batches never stall UI document previews.

Measured Thresholds & Container Limits

Active UI UsersWEBSERVER_WORKERSEstimated webserver RSSContainer Limit
1 - 2 home users1 - 2380 - 540 MB768M
3 - 10 team users2 - 3550 - 740 MB1024M
10 - 25 heavy search4880 - 1,100 MB1536M
~220 MB Base + 165 MB / Gunicorn Worker · Whoosh Memory Cache Deploy $6/TB SliceHostinger KVM ($4.79/mo)