🐞 Bug: Severe UI & environment loading performance issues after upgrading to v3 and migrating agents
Bug Description
After upgrading to v3 and completing the initial migration to the new agents, I am experiencing significant performance issues across the web UI. Loading pages and environments takes noticeably longer on every single menu item.
Setup & Environment
- Arcane Version:
v3.x.x(bitte genaue Version eintragen) - Deployment Method: LXC Container (ggf. OS/Docker-Info ergänzen)
- Agent Connection Protocol: WebSocket / gRPC
- Host/LXC Resource Usage: Normal (low CPU and RAM utilization; no resource bottlenecks on the host or LXC side)
Steps To Reproduce
- Upgrade existing installation to v3.
- Migrate existing agents to the new v3 agent architecture (connected via WebSocket or gRPC).
- Navigate through various menu items and environments in the web UI.
Expected Behavior
Pages and environment states should load smoothly and quickly, similar to pre-v3 performance, given that host resources are completely idle/healthy.
Actual Behavior
Every navigation step or environment load suffers from noticeable delays and sluggish response times, despite low CPU/memory usage in the LXC container.
Screenshots
No response
Arcane Version
v3.0.1
Installation Method
Docker Compose (Recommended)
Environment Type
Local Docker (Single instance)
Database Type
SQLite (Default)
Operating System
Linux
Docker Version
29.10.0
Browser & Version
Chrome 157
Debug Logs
log is to long for this field you can find it here: https://pastebin.com/3xma0xa9
Docker Compose Configuration
services:
arcane:
image: ghcr.io/getarcaneapp/manager:latest
container_name: arcane
restart: unless-stopped
ports:
- 3552:3552
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- arcane-data:/app/data
environment:
- ARCANE_APP_URL=https://<domain.tld>
- PUID=1000
- PGID=1000
- ARCANE_ENCRYPTION_KEY=<MY_ENC_KEY>
- ARCANE_LOG_LEVEL=debug
- ARCANE_LOG_JSON=false
- ARCANE_OIDC_ENABLED=false
- ARCANE_DATABASE_URL=file:data/arcane.db?_pragma=journal_mode(WAL)&_pragma=busy_timeout(2500)&_txlock=immediate
volumes:
arcane-data:
driver: local
Environment Configuration (.env file)
Additional Context
No response
I was/am observing the similar performance issues. The docker compose log was complaining about one of the remote agents throwing Bad Gateway.
ERR Bad Gateway method=GET path=/api/agents/[hidden]/vulnerabilities/summary duration=20.000167331s status=502 id=[hidden]
Restarting the agent seemed to fix the issue (for now at least...)
@willelop i already restarted every agent before posting the issue, didn't helped 😞
you can try the next image if you would like, there is a few migrations so backup first , but there should be significant perf improvements there as well.
Hello,
I'm experiencing very similar performance issues after upgrading from Arcane v2 to v3.0.0 and 3.0.1.
In my case, the issue appears to be browser-specific:
- Firefox 159 on Windows 11: extremely slow navigation across the entire UI, including the login page.
- Chrome on the same machine: perfectly smooth.
- Firefox private browsing: same performance issue.
- Disabling Firefox hardware acceleration: no improvement.
- Direct access via local IP (no reverse proxy): same issue.
- Backend API response times: generally under 30 ms.
- Arcane v2 worked perfectly in Firefox.
Firefox Profiler shows significant activity related to rendering and Paint.
This looks like a possible frontend performance regression introduced in Arcane v3, particularly affecting Firefox.
you can try the
nextimage if you would like, there is a few migrations so backup first , but there should be significant perf improvements there as well.
Hi thx for the reply, i've updated to the next version, and it's a bit faster, but facing on some places still long loading times and Bad Gateway issues like @willelop
i cant reproduce any slowness on firefox 160.01, i may need more specificis in what pages, you are seeing this on , 3.1.0 has all of the performance fixes in it
i cant even update from 2.X to 3.X using the updater or via docker commands
Since Update 3.1.1 i facing no performance issue anymore, great job thx :D
i cant even update from 2.X to 3.X using the updater or via docker commands
what issue are you having? did you follow the migration guide?