Error Diagnostics // TraceLite Bench
JavaScript Source Map & Symbolication Worker RAM Spikes
Unstripped 15-40 MB Webpack or Vite .js.map files force Celery workers to allocate hundreds of megabytes per stacktrace resolution.
Measured GlitchTip & Sentry Telemetry
When frontend releases upload bloated source maps alongside embedded sourcesContent, each Celery worker parsing a stacktrace loads and parses the JSON map in memory. Concurrent frontend error bursts multiply that footprint across every worker thread.
| Subsystem / Signal | Measured Footprint | Operational Impact |
|---|---|---|
| Per-Worker Baseline (Backend) | 140 - 210 MB | Python/Go/Node stacktraces without maps |
| Per-Worker with 25 MB Source Maps | 380 - 620 MB | Multiplies by CELERY_WORKER_CONCURRENCY |
| Artifact Disk Growth (30d) | 4 - 18 GB | Controlled by GLITCHTIP_MAX_FILE_LIFE_DAYS |
Step-by-Step Triage & Compose Remediation
- Check upload artifact volume: Inspect /code/uploads disk size to spot unpruned CI release artifacts.
- Set GLITCHTIP_MAX_FILE_LIFE_DAYS: Match file artifact retention (14-30 days) so stale release maps purge automatically.
- Scale RAM before concurrency: If processing heavy JS maps, budget +680 MB RAM and keep Celery concurrency at 2-4 on 4 GB VPS.
du -sh /var/lib/docker/volumes/*uploads* # In .env: GLITCHTIP_MAX_FILE_LIFE_DAYS=30 CELERY_WORKER_MAX_TASKS_PER_CHILD=300
Diagnostic FAQ
Does GlitchTip support Sentry CLI source map uploads?
Yes. sentry-cli sourcemaps upload works directly against your GlitchTip domain and auth token.
How do I reduce source map RAM spikes in CI?
Split vendor chunks in Vite/Webpack and prune old release artifacts via GLITCHTIP_MAX_FILE_LIFE_DAYS.