High CPU load after upgrade to 2026.8.x
Author: RoboMagusCreated Sep 30, 2026Updated Sep 30, 2026
Labelsbugtriage
Describe the bug
After upgrade from 2026.5.7 to 2026.8.3 CPU load is up 4 to 5x compared to before upgrade. Total combined memory usage accross server, worker and db containers is up from about 180MB to 480MB. This is after letting the system do it's migration magic and letting it sit idle for over an hour.
This is deployed on a RPi4 4GB with just one user and hardly any traffic.
How to reproduce
- Stop server, worker and db docker containers of
2026.5.7deployment. - Create backup of dataset
- Upgrade from
2026.5.7to2026.8.3start containers - Observe.
- (Revert to
2026.5.7with snapshot created in step 2 as the high idle resource load is undesirable)
Expected behavior
Increased CPU load during migration, but settles down to a much more reasonable idle load.
Screenshots
Used HomeAssistant to track resource usage for all Docker containers. Graph below clearly shows the before, the upgrade, and after.
Additional context
No response
Deployment Method
Docker
Version
2026.8.3
Relevant log output
authentik_server | 2026-09-30T15:32:48.518495254Z {"filename":"packages/ak-axum/src/tracing.rs","level":"info","line_number":48,"pid":7,"spans":[{"host":"auth.<REDACTED>","http_headers":"{\"user_agent\": \"Uptime-Kuma/2.5.5\"}","method":"GET","name":"request","path":"/health/ready/","remote":"172.18.0.36","scheme":"https"}],"target":"authentik_axum::tracing","thread_id":"ThreadId(2)","thread_name":"tokio-0","timestamp":"2026-09-30T15:32:48.516300","event":"/health/ready/","runtime":"2018","status":200,"host":"auth.<REDACTED>","http_headers":"{\"user_agent\": \"Uptime-Kuma/2.5.5\"}","method":"GET","name":"request","path":"/health/ready/","remote":"172.18.0.36","scheme":"https"}
authentik_server | 2026-09-30T15:32:51.795227039Z {"filename":"packages/ak-axum/src/tracing.rs","level":"info","line_number":48,"pid":7,"spans":[{"host":"localhost","http_headers":"{\"user_agent\": \"goauthentik.io/healthcheck\"}","method":"GET","name":"request","path":"/health/live/","remote":"::1","scheme":"http"}],"target":"authentik_axum::tracing","thread_id":"ThreadId(2)","thread_name":"tokio-0","timestamp":"2026-09-30T15:32:51.794772","event":"/health/live/","runtime":"1024","status":200,"host":"localhost","http_headers":"{\"user_agent\": \"goauthentik.io/healthcheck\"}","method":"GET","name":"request","path":"/health/live/","remote":"::1","scheme":"http"}
authentik_worker | 2026-09-30T15:33:13.693309653Z {"filename":"packages/ak-axum/src/tracing.rs","level":"info","line_number":48,"pid":7,"spans":[{"host":"localhost","http_headers":"{\"user_agent\": \"goauthentik.io/healthcheck\"}","method":"GET","name":"request","path":"/-/health/live/","remote":"::1","scheme":"http"}],"target":"authentik_axum::tracing","thread_id":"ThreadId(2)","thread_name":"tokio-0","timestamp":"2026-09-30T15:33:13.690891","event":"/-/health/live/","runtime":"5","status":200,"host":"localhost","http_headers":"{\"user_agent\": \"goauthentik.io/healthcheck\"}","method":"GET","name":"request","path":"/-/health/live/","remote":"::1","scheme":"http"}
authentik_server | 2026-09-30T15:33:31.064018009Z {"filename":"packages/ak-axum/src/tracing.rs","level":"info","line_number":48,"pid":7,"spans":[{"host":"localhost","http_headers":"{\"user_agent\": \"goauthentik.io/healthcheck\"}","method":"GET","name":"request","path":"/health/live/","remote":"::1","scheme":"http"}],"target":"authentik_axum::tracing","thread_id":"ThreadId(2)","thread_name":"tokio-0","timestamp":"2026-09-30T15:33:31.047773","event":"/health/live/","runtime":"4848","status":200,"host":"localhost","http_headers":"{\"user_agent\": \"goauthentik.io/healthcheck\"}","method":"GET","name":"request","path":"/health/live/","remote":"::1","scheme":"http"}
authentik_server | 2026-09-30T15:33:47.523943795Z {"filename":"packages/ak-axum/src/tracing.rs","level":"info","line_number":48,"pid":7,"spans":[{"host":"auth.<REDACTED>","http_headers":"{\"user_agent\": \"Uptime-Kuma/2.5.5\"}","method":"GET","name":"request","path":"/health/ready/","remote":"172.18.0.36","scheme":"https"}],"target":"authentik_axum::tracing","thread_id":"ThreadId(2)","thread_name":"tokio-0","timestamp":"2026-09-30T15:33:47.523194","event":"/health/ready/","runtime":"822","status":200,"host":"auth.<REDACTED>","http_headers":"{\"user_agent\": \"Uptime-Kuma/2.5.5\"}","method":"GET","name":"request","path":"/health/ready/","remote":"172.18.0.36","scheme":"https"}
authentik_worker | 2026-09-30T15:33:50.733510661Z {"filename":"packages/ak-axum/src/tracing.rs","level":"info","line_number":48,"pid":7,"spans":[{"host":"localhost","http_headers":"{\"user_agent\": \"goauthentik.io/healthcheck\"}","method":"GET","name":"request","path":"/-/health/live/","remote":"::1","scheme":"http"}],"target":"authentik_axum::tracing","thread_id":"ThreadId(2)","thread_name":"tokio-0","timestamp":"2026-09-30T15:33:50.728311","event":"/-/health/live/","runtime":"20","status":200,"host":"localhost","http_headers":"{\"user_agent\": \"goauthentik.io/healthcheck\"}","method":"GET","name":"request","path":"/-/health/live/","remote":"::1","scheme":"http"}
authentik_server | 2026-09-30T15:34:08.324198220Z {"filename":"packages/ak-axum/src/tracing.rs","level":"info","line_number":48,"pid":7,"spans":[{"host":"localhost","http_headers":"{\"user_agent\": \"goauthentik.io/healthcheck\"}","method":"GET","name":"request","path":"/health/live/","remote":"::1","scheme":"http"}],"target":"authentik_axum::tracing","thread_id":"ThreadId(2)","thread_name":"tokio-0","timestamp":"2026-09-30T15:34:08.321705","event":"/health/live/","runtime":"2126","status":200,"host":"localhost","http_headers":"{\"user_agent\": \"goauthentik.io/healthcheck\"}","method":"GET","name":"request","path":"/health/live/","remote":"::1","scheme":"http"}
authentik_server | 2026-09-30T15:34:28.071341591Z {"filename":"packages/ak-axum/src/tracing.rs","level":"info","line_number":48,"pid":7,"spans":[{"host":"auth.<REDACTED>","http_headers":"{\"user_agent\": \"curl/8.20.0\"}","method":"GET","name":"request","path":"/health/ready/","remote":"192.168.1.26","scheme":"https"}],"target":"authentik_axum::tracing","thread_id":"ThreadId(2)","thread_name":"tokio-0","timestamp":"2026-09-30T15:34:28.069194","event":"/health/ready/","runtime":"1414","status":200,"host":"auth.<REDACTED>","http_headers":"{\"user_agent\": \"curl/8.20.0\"}","method":"GET","name":"request","path":"/health/ready/","remote":"192.168.1.26","scheme":"https"}
authentik_worker | 2026-09-30T15:34:29.173564157Z {"filename":"packages/ak-axum/src/tracing.rs","level":"info","line_number":48,"pid":7,"spans":[{"host":"localhost","http_headers":"{\"user_agent\": \"goauthentik.io/healthcheck\"}","method":"GET","name":"request","path":"/-/health/live/","remote":"::1","scheme":"http"}],"target":"authentik_axum::tracing","thread_id":"ThreadId(2)","thread_name":"tokio-0","timestamp":"2026-09-30T15:34:29.171415","event":"/-/health/live/","runtime":"11","status":200,"host":"localhost","http_headers":"{\"user_agent\": \"goauthentik.io/healthcheck\"}","method":"GET","name":"request","path":"/-/health/live/","remote":"::1","scheme":"http"}
authentik_server | 2026-09-30T15:34:42.550804516Z {"filename":"packages/ak-axum/src/tracing.rs","level":"info","line_number":48,"pid":7,"spans":[{"host":"localhost","http_headers":"{\"user_agent\": \"goauthentik.io/healthcheck\"}","method":"GET","name":"request","path":"/health/live/","remote":"::1","scheme":"http"}],"target":"authentik_axum::tracing","thread_id":"ThreadId(2)","thread_name":"tokio-0","timestamp":"2026-09-30T15:34:42.550027","event":"/health/live/","runtime":"1364","status":200,"host":"localhost","http_headers":"{\"user_agent\": \"goauthentik.io/healthcheck\"}","method":"GET","name":"request","path":"/health/live/","remote":"::1","scheme":"http"}
authentik_server | 2026-09-30T15:34:46.435273516Z {"filename":"packages/ak-axum/src/tracing.rs","level":"info","line_number":48,"pid":7,"spans":[{"host":"auth.<REDACTED>","http_headers":"{\"user_agent\": \"Uptime-Kuma/2.5.5\"}","method":"GET","name":"request","path":"/health/ready/","remote":"172.18.0.36","scheme":"https"}],"target":"authentik_axum::tracing","thread_id":"ThreadId(2)","thread_name":"tokio-0","timestamp":"2026-09-30T15:34:46.434783","event":"/health/ready/","runtime":"435","status":200,"host":"auth.<REDACTED>","http_headers":"{\"user_agent\": \"Uptime-Kuma/2.5.5\"}","method":"GET","name":"request","path":"/health/ready/","remote":"172.18.0.36","scheme":"https"}
authentik_worker | 2026-09-30T15:35:03.354868629Z {"filename":"packages/ak-axum/src/tracing.rs","level":"info","line_number":48,"pid":7,"spans":[{"host":"localhost","http_headers":"{\"user_agent\": \"goauthentik.io/healthcheck\"}","method":"GET","name":"request","path":"/-/health/live/","remote":"::1","scheme":"http"}],"target":"authentik_axum::tracing","thread_id":"ThreadId(2)","thread_name":"tokio-0","timestamp":"2026-09-30T15:35:03.354406","event":"/-/health/live/","runtime":"2","status":200,"host":"localhost","http_headers":"{\"user_agent\": \"goauthentik.io/healthcheck\"}","method":"GET","name":"request","path":"/-/health/live/","remote":"::1","scheme":"http"}
authentik_server | 2026-09-30T15:35:12.928612279Z {"filename":"packages/ak-axum/src/tracing.rs","level":"info","line_number":48,"pid":7,"spans":[{"host":"auth.<REDACTED>","http_headers":"{\"user_agent\": \"curl/8.20.0\"}","method":"GET","name":"request","path":"/health/ready/","remote":"192.168.1.26","scheme":"https"}],"target":"authentik_axum::tracing","thread_id":"ThreadId(2)","thread_name":"tokio-0","timestamp":"2026-09-30T15:35:12.928218","event":"/health/ready/","runtime":"2530","status":200,"host":"auth.<REDACTED>","http_headers":"{\"user_agent\": \"curl/8.20.0\"}","method":"GET","name":"request","path":"/health/ready/","remote":"192.168.1.26","scheme":"https"}
authentik_server | 2026-09-30T15:35:15.818760451Z {"filename":"packages/ak-axum/src/tracing.rs","level":"info","line_number":48,"pid":7,"spans":[{"host":"localhost","http_headers":"{\"user_agent\": \"goauthentik.io/healthcheck\"}","method":"GET","name":"request","path":"/health/live/","remote":"::1","scheme":"http"}],"target":"authentik_axum::tracing","thread_id":"ThreadId(2)","thread_name":"tokio-0","timestamp":"2026-09-30T15:35:15.818356","event":"/health/live/","runtime":"703","status":200,"host":"localhost","http_headers":"{\"user_agent\": \"goauthentik.io/healthcheck\"}","method":"GET","name":"request","path":"/health/live/","remote":"::1","scheme":"http"}
authentik_worker | 2026-09-30T15:35:35.987785840Z {"filename":"packages/ak-axum/src/tracing.rs","level":"info","line_number":48,"pid":7,"spans":[{"host":"localhost","http_headers":"{\"user_agent\": \"goauthentik.io/healthcheck\"}","method":"GET","name":"request","path":"/-/health/live/","remote":"::1","scheme":"http"}],"target":"authentik_axum::tracing","thread_id":"ThreadId(2)","thread_name":"tokio-0","timestamp":"2026-09-30T15:35:35.987328","event":"/-/health/live/","runtime":"6","status":200,"host":"localhost","http_headers":"{\"user_agent\": \"goauthentik.io/healthcheck\"}","method":"GET","name":"request","path":"/-/health/live/","remote":"::1","scheme":"http"}
authentik_server | 2026-09-30T15:35:46.588838848Z {"filename":"packages/ak-axum/src/tracing.rs","level":"info","line_number":48,"pid":7,"spans":[{"host":"auth.<REDACTED>","http_headers":"{\"user_agent\": \"Uptime-Kuma/2.5.5\"}","method":"GET","name":"request","path":"/health/ready/","remote":"172.18.0.36","scheme":"https"}],"target":"authentik_axum::tracing","thread_id":"ThreadId(2)","thread_name":"tokio-0","timestamp":"2026-09-30T15:35:46.588491","event":"/health/ready/","runtime":"697","status":200,"host":"auth.<REDACTED>","http_headers":"{\"user_agent\": \"Uptime-Kuma/2.5.5\"}","method":"GET","name":"request","path":"/health/ready/","remote":"172.18.0.36","scheme":"https"}
authentik_server | 2026-09-30T15:35:48.781891376Z {"filename":"packages/ak-axum/src/tracing.rs","level":"info","line_number":48,"pid":7,"spans":[{"host":"localhost","http_headers":"{\"user_agent\": \"goauthentik.io/healthcheck\"}","method":"GET","name":"request","path":"/health/live/","remote":"::1","scheme":"http"}],"target":"authentik_axum::tracing","thread_id":"ThreadId(2)","thread_name":"tokio-0","timestamp":"2026-09-30T15:35:48.781536","event":"/health/live/","runtime":"729","status":200,"host":"localhost","http_headers":"{\"user_agent\": \"goauthentik.io/healthcheck\"}","method":"GET","name":"request","path":"/health/live/","remote":"::1","scheme":"http"}
authentik_server | 2026-09-30T15:35:55.748308841Z {"filename":"packages/ak-axum/src/tracing.rs","level":"info","line_number":48,"pid":7,"spans":[{"host":"auth.<REDACTED>","http_headers":"{\"user_agent\": \"curl/8.20.0\"}","method":"GET","name":"request","path":"/health/ready/","remote":"192.168.1.26","scheme":"https"}],"target":"authentik_axum::tracing","thread_id":"ThreadId(2)","thread_name":"tokio-0","timestamp":"2026-09-30T15:35:55.747394","event":"/health/ready/","runtime":"415","status":200,"host":"auth.<REDACTED>","http_headers":"{\"user_agent\": \"curl/8.20.0\"}","method":"GET","name":"request","path":"/health/ready/","remote":"192.168.1.26","scheme":"https"}
authentik_worker | 2026-09-30T15:36:09.006884097Z {"filename":"packages/ak-axum/src/tracing.rs","level":"info","line_number":48,"pid":7,"spans":[{"host":"localhost","http_headers":"{\"user_agent\": \"goauthentik.io/healthcheck\"}","method":"GET","name":"request","path":"/-/health/live/","remote":"::1","scheme":"http"}],"target":"authentik_axum::tracing","thread_id":"ThreadId(2)","thread_name":"tokio-0","timestamp":"2026-09-30T15:36:09.006559","event":"/-/health/live/","runtime":"2","status":200,"host":"localhost","http_headers":"{\"user_agent\": \"goauthentik.io/healthcheck\"}","method":"GET","name":"request","path":"/-/health/live/","remote":"::1","scheme":"http"}
authentik_server | 2026-09-30T15:36:16.121282197Z {"filename":"src/outpost/event.rs","level":"info","line_number":241,"pid":7,"target":"authentik::outpost::event","thread_id":"ThreadId(2)","thread_name":"tokio-0","timestamp":"2026-09-30T15:36:16.120421","event":"refreshing outpost on interval"}
authentik_server | 2026-09-30T15:36:16.121517731Z {"filename":"src/outpost/event.rs","level":"info","line_number":103,"pid":7,"spans":[{"name":"handle_event"}],"target":"authentik::outpost::event","thread_id":"ThreadId(2)","thread_name":"tokio-0","timestamp":"2026-09-30T15:36:16.120602","event":"received update trigger, refreshing outpost","name":"handle_event"}
authentik_server | 2026-09-30T15:36:19.257891363Z {"auth_via": "secret_key", "domain_url": "localhost", "event": "/api/v3/outposts/instances/", "host": "localhost", "level": "info", "logger": "authentik.asgi", "method": "GET", "pid": 173, "remote": "::1", "request_id": "1fb4523299174d15a2583ba7a2e3096c", "runtime": 2897, "schema_name": "public", "scheme": "http", "status": 200, "timestamp": "2026-09-30T15:36:19.230615", "user": "ak-outpost-46c52f9acb9747d3a14bbcf4f16aec99", "user_agent": "goauthentik.io/outpost/2026.8.3"}
authentik_server | 2026-09-30T15:36:22.677761986Z {"filename":"packages/ak-axum/src/tracing.rs","level":"info","line_number":48,"pid":7,"spans":[{"host":"localhost","http_headers":"{\"user_agent\": \"goauthentik.io/healthcheck\"}","method":"GET","name":"request","path":"/health/live/","remote":"::1","scheme":"http"}],"target":"authentik_axum::tracing","thread_id":"ThreadId(2)","thread_name":"tokio-0","timestamp":"2026-09-30T15:36:22.677401","event":"/health/live/","runtime":"1219","status":200,"host":"localhost","http_headers":"{\"user_agent\": \"goauthentik.io/healthcheck\"}","method":"GET","name":"request","path":"/health/live/","remote":"::1","scheme":"http"}
authentik_server | 2026-09-30T15:36:22.719274540Z {"auth_via": "secret_key", "domain_url": "localhost", "event": "/api/v3/outposts/proxy/?page=1&page_size=100", "host": "localhost", "level": "info", "logger": "authentik.asgi", "method": "GET", "pid": 173, "remote": "::1", "request_id": "7c63e827f8eb4310b9f0ca68f2b71949", "runtime": 3189, "schema_name": "public", "scheme": "http", "status": 200, "timestamp": "2026-09-30T15:36:22.718488", "user": "ak-outpost-46c52f9acb9747d3a14bbcf4f16aec99", "user_agent": "goauthentik.io/outpost/2026.8.3"}
authentik_server | 2026-09-30T15:36:22.898044022Z {"filename":"src/outpost/proxy/mod.rs","level":"info","line_number":160,"pid":7,"spans":[{"name":"handle_event"},{"name":"refresh"}],"target":"authentik::outpost::proxy","thread_id":"ThreadId(2)","thread_name":"tokio-0","timestamp":"2026-09-30T15:36:22.897758","event":"loaded application","host":"auth.<REDACTED>","name":"Traefik-FWAuth","name":"refresh"}
authentik_server | 2026-09-30T15:36:41.111204673Z {"filename":"packages/ak-axum/src/tracing.rs","level":"info","line_number":48,"pid":7,"spans":[{"host":"auth.<REDACTED>","http_headers":"{\"user_agent\": \"curl/8.20.0\"}","method":"GET","name":"request","path":"/health/ready/","remote":"192.168.1.26","scheme":"https"}],"target":"authentik_axum::tracing","thread_id":"ThreadId(2)","thread_name":"tokio-0","timestamp":"2026-09-30T15:36:41.110767","event":"/health/ready/","runtime":"773","status":200,"host":"auth.<REDACTED>","http_headers":"{\"user_agent\": \"curl/8.20.0\"}","method":"GET","name":"request","path":"/health/ready/","remote":"192.168.1.26","scheme":"https"}
authentik_worker | 2026-09-30T15:36:41.807539533Z {"filename":"packages/ak-axum/src/tracing.rs","level":"info","line_number":48,"pid":7,"spans":[{"host":"localhost","http_headers":"{\"user_agent\": \"goauthentik.io/healthcheck\"}","method":"GET","name":"request","path":"/-/health/live/","remote":"::1","scheme":"http"}],"target":"authentik_axum::tracing","thread_id":"ThreadId(2)","thread_name":"tokio-0","timestamp":"2026-09-30T15:36:41.807152","event":"/-/health/live/","runtime":"4","status":200,"host":"localhost","http_headers":"{\"user_agent\": \"goauthentik.io/healthcheck\"}","method":"GET","name":"request","path":"/-/health/live/","remote":"::1","scheme":"http"}
authentik_server | 2026-09-30T15:36:46.375679753Z {"filename":"packages/ak-axum/src/tracing.rs","level":"info","line_number":48,"pid":7,"spans":[{"host":"auth.<REDACTED>","http_headers":"{\"user_agent\": \"Uptime-Kuma/2.5.5\"}","method":"GET","name":"request","path":"/health/ready/","remote":"172.18.0.36","scheme":"https"}],"target":"authentik_axum::tracing","thread_id":"ThreadId(2)","thread_name":"tokio-0","timestamp":"2026-09-30T15:36:46.375177","event":"/health/ready/","runtime":"388","status":200,"host":"auth.<REDACTED>","http_headers":"{\"user_agent\": \"Uptime-Kuma/2.5.5\"}","method":"GET","name":"request","path":"/health/ready/","remote":"172.18.0.36","scheme":"https"}
authentik_server | 2026-09-30T15:36:55.067438153Z {"filename":"packages/ak-axum/src/tracing.rs","level":"info","line_number":48,"pid":7,"spans":[{"host":"localhost","http_headers":"{\"user_agent\": \"goauthentik.io/healthcheck\"}","method":"GET","name":"request","path":"/health/live/","remote":"::1","scheme":"http"}],"target":"authentik_axum::tracing","thread_id":"ThreadId(2)","thread_name":"tokio-0","timestamp":"2026-09-30T15:36:55.067127","event":"/health/live/","runtime":"706","status":200,"host":"localhost","http_headers":"{\"user_agent\": \"goauthentik.io/healthcheck\"}","method":"GET","name":"request","path":"/health/live/","remote":"::1","scheme":"http"}
authentik_worker | 2026-09-30T15:37:13.963027414Z {"filename":"packages/ak-axum/src/tracing.rs","level":"info","line_number":48,"pid":7,"spans":[{"host":"localhost","http_headers":"{\"user_agent\": \"goauthentik.io/healthcheck\"}","method":"GET","name":"request","path":"/-/health/live/","remote":"::1","scheme":"http"}],"target":"authentik_axum::tracing","thread_id":"ThreadId(2)","thread_namSource: goauthentik/authentik