Describe the bug
I have upgraded to 2026.8.0 about 3 days ago, and just today noticed a massive memory leak in the worker, rendering authentik to be barely usable due to memory constraints.
Dedicated VM to Authentik:

Docker stats clearly pointed towards the worker:
# docker stats
CONTAINER ID NAME CPU % MEM USAGE / LIMIT MEM % NET I/O BLOCK I/O PIDS
...
7c605995bbce ak-outpost-op-rac01 0.16% 10.38MiB / 3.824GiB 0.26% 7.94MB / 13.5MB 53.2GB / 2.24GB 10
fa5f5dc1c6a8 ak-outpost-op-proxy01 0.00% 5.746MiB / 3.824GiB 0.15% 397kB / 274kB 6.55GB / 77.2MB 6
17bf7a618d76 authentik-worker-1 0.12% 3.098GiB / 3.824GiB 81.02% 2.6GB / 929MB 256GB / 105GB 19
f0fed836692f authentik-server-1 15.47% 95.86MiB / 3.824GiB 2.45% 2.17GB / 2.38GB 120GB / 12.6GB 28
Unfotrunately the logs were rather quiet, so I don't know what could be causing this. Nor am I sure how to check what exactly was consuming up as much memory.
Happy to continue observing and perform specific troubleshooting steps once it re-occurred. Raised this now for reasons of awareness and help with further troubleshooting.
Possibly related to #25416 or #25469 due to repeatedly failing sync?
How to reproduce
Unclear yet. Still observing.
Expected behavior
No memory leak.
Screenshots
No response
Additional context
No response
Deployment Method
Docker
Version
2026.8.0
Relevant log output
Describe the bug
I have upgraded to 2026.8.0 about 3 days ago, and just today noticed a massive memory leak in the worker, rendering authentik to be barely usable due to memory constraints.
Dedicated VM to Authentik:

Docker stats clearly pointed towards the worker:
Unfotrunately the logs were rather quiet, so I don't know what could be causing this. Nor am I sure how to check what exactly was consuming up as much memory.
Happy to continue observing and perform specific troubleshooting steps once it re-occurred. Raised this now for reasons of awareness and help with further troubleshooting.
Possibly related to #25416 or #25469 due to repeatedly failing sync?
How to reproduce
Unclear yet. Still observing.
Expected behavior
No memory leak.
Screenshots
No response
Additional context
No response
Deployment Method
Docker
Version
2026.8.0
Relevant log output