KamoCRM

Logo-variants runs ffmpeg single-threaded, one logo at a time

FixConversionService
Shipped
September 24, 2026 at 11:09 PM UTC
Author
Kamo
Commit
e4fb699

The first boot backfill OOM-killed BOTH ConversionService pods (23:04:39 and 23:05:47Z): a 3919x1373 PNG logo and a 4096-wide seeded SVG. ffmpeg gives every filter a thread per CPU, each with its own scaling buffers, and the graph has up to 22 scalers; on the 48-core nodes that pushed a pod already holding a pre-touched ~1.4 GB heap past its 2 Gi limit. Measured on 16 cores: 1.29 GB peak as shipped, 274 MB single-threaded (and faster, 6.5s). - -filter_threads 1 -filter_complex_threads 1, and -threads 1 on every output - one logo-variants job per pod at a time (was 2) - sources capped at 36 MP (was 100 MP); a larger "logo" gets no variants and every surface keeps drawing the original

All changes

Like what you see shipping?

All of it arrives in your workspace on its own. Start on the free plan and read this page again in a month.

Start Free ForeverView Pricing