Fix authentik worker OOMKill: limit concurrency to 2
Dramatiq defaults to one worker process per CPU core. On ringtail (16 cores) this spawned 16 processes, each loading the full Django app, exceeding the 1Gi memory limit and causing a crash loop (228 restarts over 7 days). Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
bd0ff30d3f
commit
9efe5c97fe
2 changed files with 3 additions and 0 deletions
1
docs/changelog.d/+authentik-worker-concurrency.bugfix.md
Normal file
1
docs/changelog.d/+authentik-worker-concurrency.bugfix.md
Normal file
|
|
@ -0,0 +1 @@
|
|||
Fix authentik worker OOMKill by setting AUTHENTIK_WORKER_CONCURRENCY=2 (was defaulting to 16 based on CPU count).
|
||||
Loading…
Add table
Add a link
Reference in a new issue