mirror of
https://github.com/moghtech/komodo.git
synced 2025-12-05 19:17:36 -06:00
Inaccurate Core Count in Server Stats #405
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @syphernl on GitHub (Jun 2, 2025).
Under Servers => Server => Stats, the reported core count is incorrect.
All Komodo servers (LXC containers) are assigned 6 cores, confirmed via cat /proc/cpuinfo, but the UI inconsistently displays 4, 5, or 6 cores across servers while they all are supposed to be showing 6.
Running Komodo 1.18.0
@SCUR0 commented on GitHub (Jun 3, 2025):
I'm seeing this as well except I have no core limit set with the host having four cores and but the server status is showing 2.
@mbecker20 commented on GitHub (Jun 7, 2025):
Komodo periphery uses the sysinfo rust crate for core count, the periphery code getting it is here and it is directly mapped from the sysinfo method:
4d401d7f20/bin/periphery/src/stats.rs (L198).You can open an issue with sysinfo crate regarding this issue. You should provide detailed system information including whether running in VM / LXC / container / native, etc.
@kenneth-church commented on GitHub (Aug 28, 2025):
Could this perhaps be an issue with the difference between physical and logical cores?
Mentioned in this sysinfo issue.
@arifroni commented on GitHub (Oct 23, 2025):
i see similar issue as well. i have several lxcs. most of them have 2 cores, these are shown accurately in komodo. one of the them have 1, thats also correct in komodo. 2 lxcs have 4 cores each, in komodo it shows 3.
@PAS-BC commented on GitHub (Oct 30, 2025):
Only just started my Komodo journey.
Added Periphery as a systemd entity to an LXC and added the new Server.
Komodo identified the single core as overstretched, so I increased the Core Resources to 2 from the Proxmox GUI.
Stopped and restarted the LXC - both from Proxmox and again within Komodo
Refreshed Komodo Server Stats page
Core Count still showing as '1 Core'
Edit:
As a quick test, I increased the Memory allocation from 1 GiB to 2 GiB and rebooted LXC
Komodo picked up the RAM change correctly