project-pegaprox icon indicating copy to clipboard operation
project-pegaprox copied to clipboard

[Bug] Very high CPU load on the cluster.

Open BlackGeeBo opened this issue 8 months ago • 7 comments

Describe the bug

On Thursday, I decided to go with Pegaprox and installed it on a recent Debian VM. That went without a hitch.

But here’s the problem since then: My cluster, consisting of three nodes, is now under three times the load! Instead of the previous 5–10%, the CPU utilisation is now consistently at 20–30%!

What is causing this? Which log files are required, as I cannot find any incorrect errors in any of them.

Steps to Reproduce

Install Pegaprox and configure Cluster with 3 Nodes.

Expected behavior

That the cluster does not generate three times the load.

Environment

  • PegaProx Version: Beta 0.9.4.1
  • Installation Method: Debian 13 VM / Manual (git clone)
  • OS: Debian 13.4
  • Browser: Brave
  • Behind Reverse Proxy? No
  • UI? Corporate

Logs

Which one is needed...?

Screenshots

Image

Checklist

  • [ x] I have searched existing issues to make sure this is not a duplicate
  • [ x] I am using the latest version of PegaProx
  • [ x] I am using the latest version of Proxmox
  • [ x] I am using the latest version of Debian

BlackGeeBo avatar Apr 06 '26 06:04 BlackGeeBo

Hi @BlackGeeBo ,

important informations are missing here. What kind of CPU and RAM is in there? How much resources have pegaprox assigned?

Is it only on one node or on all three?

Thanks, Regards

MrMasterbay avatar Apr 06 '26 08:04 MrMasterbay

Hi @BlackGeeBo ,

important informations are missing here. What kind of CPU and RAM is in there? How much resources have pegaprox assigned?

Is it only on one node or on all three?

Thanks, Regards

Is on all Nodes. All three nodes are uses more CPU Power since the Installation of one VM with Pegaprox. And when i shutdown the VM now CPU utilisation also remains high. There is no obvious task causing such high utilisation. But Pegaprox must have made some changes to the nodes themselves. No other updates or changes were made, and no further updates were found prior to the installation.

BlackGeeBo avatar Apr 06 '26 08:04 BlackGeeBo

Hi @BlackGeeBo ,

did you harden your Nodes? This indeed causes a higher cpu and ram utlization. Otherwise there is really nothing that pegaprox does out of the box without explicit activating it.

MrMasterbay avatar Apr 06 '26 09:04 MrMasterbay

did you harden your Nodes? This indeed causes a higher cpu and ram utlization. Otherwise there is really nothing that pegaprox does out of the box without explicit activating it.

Only CrowdSec.

Edit: I have stopped the crowdsec Service on any Host...and the high load remains.

BlackGeeBo avatar Apr 06 '26 09:04 BlackGeeBo

@BlackGeeBo I think the linux command HTOP helps you then here. https://www.geeksforgeeks.org/linux-unix/htop-command-in-linux-with-examples/ https://hostnextra.com/learn/tutorials/sysstat-a-tutorial-on-installation-and-usage

PegaProx does not install anything on the host that is not explicit confirmed. Proxmox also did shoot an update out this could be alos a reason here.

MrMasterbay avatar Apr 06 '26 09:04 MrMasterbay

@BlackGeeBo I think the linux command HTOP helps you then here. https://www.geeksforgeeks.org/linux-unix/htop-command-in-linux-with-examples/ https://hostnextra.com/learn/tutorials/sysstat-a-tutorial-on-installation-and-usage

PegaProx does not install anything on the host that is not explicit confirmed. Proxmox also did shoot an update out this could be alos a reason here.

All versions are up to date here. Something else must have happened while I was busy with Pegaprox. There’s obviously no other way to explain it.

BlackGeeBo avatar Apr 06 '26 10:04 BlackGeeBo

Hi @BlackGeeBo,

thanks for testing and reporting back — but I want to point out something important here:

You mentioned yourself that the high CPU load remains even after shutting down the PegaProx VM. That alone rules out PegaProx as the cause. PegaProx runs entirely inside its own VM and communicates with your nodes exclusively via the Proxmox API and SSH (port 8006, 22) — it does not install agents, daemons, or services on your hosts without you specifically agreeing to it. There is nothing it could leave behind that would persist after the VM is shut down.

To help narrow this down, we'd still need you to actually run the diagnostics we suggested:

  1. htop on one of the affected nodes — sort by CPU and check which process is consuming the resources
  2. sar (from sysstat) — to see when exactly the load increase started and whether it correlates with a Proxmox update rather than the PegaProx installation
  3. pveversion -v — to check if a Proxmox update landed around the same time

Correlation ≠ causation — the timing of your PegaProx install likely coincided with something else (a Proxmox update, a kernel change, CrowdSec activity, etc.).

We're happy to help debug this further, but we do need the output of the above commands to make progress. Without that, there's not much we can do on our side.

MrMasterbay avatar Apr 06 '26 11:04 MrMasterbay