Repository navigation
v0.25.4: Fix startup/exit hang + 10 bug fixes
Performance — Startup & Exit Hang Fixed
Docker Module
- Parallel stats collection: container stats now fetched concurrently (5 goroutines max) instead of sequentially
- Timeout reduced: 15s → 5s global, 3s per-request with
context.WithTimeout - HTTP client reused across ticks (was creating new client + transport every 3s)
- Removed
dockerInspect()calls (RestartCount was reading wrong JSON path, always returned 0)
Proper Cleanup Chain
Engine.Close() → Registry.CloseAll() → Manager.Close() → module Close() methods → CloseIdleConnections()
No more lingering HTTP connections on exit.
Bug Fixes
| Fix | Impact |
|---|---|
Redis: double-wrapped bufio.Reader silently lost INFO data |
Redis deep metrics now work correctly |
Redis: --port N (space-separated) never parsed |
Redis on non-default ports now detected |
MongoDB: NeedsCreds logic inverted |
UI hint now shows correctly |
| ES: mountinfo false positive suppressed bare-metal ES | ES detection reliable on Docker hosts |
Memcached: redundant strings.Fields re-split |
Code cleanup |
prochelpers: file handle leak in findListeningPort() |
No more FD leaks |
| Manager: no mutex on shared state | Thread-safe collection |
| ES: persistent HTTP client | No new TLS handshake per tick |
wget https://github.com/ftahirops/xtop/releases/download/v0.25.4/xtop_0.25.4-1_amd64.deb
sudo dpkg -i xtop_0.25.4-1_amd64.deb