Paperless-ngx Presets
Batch Scanner 500 PDFs/hr Preset (16 GB Hostinger KVM 4)
Drain 500-PDF/hr duplex ADF scanner bursts with 4 Tesseract workers x 2 threads, Tika/Gotenberg, and fast NVMe scratch I/O.
5.9 GB Peak RSS · 4 Workers x 2 Threads · $9.99/mo KVM 4
Eliminating /tmp Disk Bottlenecks During Scans
OCRmyPDF unpacks every page into temporary PNG/TIFF buffers before Ghostscript re-assembles PDF/A-2b. Running 4 workers simultaneously demands high-IOPS NVMe and generous Linux page cache provided by 16 GB Hostinger KVM 4.
Whoosh Index Rebuild Headroom
With 16 GB RAM, full-text Whoosh index commits and Postgres autovacuum run concurrently with active Tesseract workers without swapping.
Measured Thresholds & Container Limits
| Parameter | Recommended Value | Operational Impact |
|---|---|---|
| PAPERLESS_TASK_WORKERS | 4 | 4 concurrent OCRmyPDF pipelines |
| PAPERLESS_THREADS_PER_WORKER | 2 | Optimal OpenMP balance on 4 vCPU EPYC |
| PAPERLESS_OCR_SKIP_ARCHIVE_FILE | with_text (optional) | Doubles burst speed on born-digital PDFs |
| Host Node Fit | Hostinger KVM 4 (16 GB / 200 GB NVMe) | Leaves ~10 GB page cache for /tmp scratch |