GitHub user TadiosAbebe added a comment to the discussion: Degraded cloudstack 
agent

> thanks for the information [@bradh352](https://github.com/bradh352) 
> [@TadiosAbebe](https://github.com/TadiosAbebe) 
> [@jgotteswinter](https://github.com/jgotteswinter)
> 
> I suspected it is due to that all libvirt operations use the same instance of 
> `LibvirtConnection`. a libvirt operation might delay other libvirt 
> operations. we could introduce a thread pool of `LibvirtConnection` if it 
> supports concurrent operations.
> 
> however, I do not know why the issue became very often in recent releases. 
> can everyone share the below ?
> 
> * global configurations (`cmk list configurations filter=id,name,value 
> keyword=stats.interval`)
> * java version of kvm host (`java --version`)
> * OS distribution of kvm host (`cat /etc/os-release`)
> * libvirt and qemu version of kvm host (`virsh version`)
> * Approx. number of VMs on kvm host

```
() 🐱 > list configurations filter=id,name,value keyword=stats.interval
{
  "configuration": [
    {
      "name": "autoscale.stats.interval",
      "value": "60"
    },
    {
      "name": "cluster.heartbeat.threshold",
      "value": "150000"
    },
    {
      "name": "database.server.stats.interval",
      "value": "60"
    },
    {
      "name": "database.server.stats.retention",
      "value": "3"
    },
    {
      "name": "direct.network.stats.interval",
      "value": "86400"
    },
    {
      "name": "external.network.stats.interval",
      "value": "300"
    },
    {
      "name": "host.stats.interval",
      "value": "60000"
    },
    {
      "name": "management.server.stats.interval",
      "value": "60"
    },
    {
      "name": "router.stats.interval",
      "value": "300"
    },
    {
      "name": "storage.stats.interval",
      "value": "60000"
    },
    {
      "name": "storpool.storage.stats.interval",
      "value": "3600"
    },
    {
      "name": "storpool.volumes.stats.interval",
      "value": "3600"
    },
    {
      "name": "vm.disk.stats.interval",
      "value": "0"
    },
    {
      "name": "vm.disk.stats.interval.min",
      "value": "300"
    },
    {
      "name": "vm.network.stats.interval",
      "value": "0"
    },
    {
      "name": "vm.network.stats.interval.min",
      "value": "300"
    },
    {
      "name": "vm.stats.interval",
      "value": "60000"
    },
    {
      "name": "volume.stats.interval",
      "value": "600000"
    }
  ],
  "count": 18
}
```
```
root@host1:/home/zgadmin# java --version
openjdk 17.0.16 2025-07-15
OpenJDK Runtime Environment (build 17.0.16+8-Ubuntu-0ubuntu124.04.1)
OpenJDK 64-Bit Server VM (build 17.0.16+8-Ubuntu-0ubuntu124.04.1, mixed mode, 
sharing)
```
```
root@host1:/home/zgadmin# cat /etc/os-release
PRETTY_NAME="Ubuntu 24.04.2 LTS"
NAME="Ubuntu"
VERSION_ID="24.04"
VERSION="24.04.2 LTS (Noble Numbat)"
VERSION_CODENAME=noble
ID=ubuntu
ID_LIKE=debian
HOME_URL="https://www.ubuntu.com/";
SUPPORT_URL="https://help.ubuntu.com/";
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/";
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy";
UBUNTU_CODENAME=noble
LOGO=ubuntu-logo
```
```
root@host1:/home/zgadmin# virsh version
Compiled against library: libvirt 10.0.0
Using library: libvirt 10.0.0
Using API: QEMU 10.0.0
Running hypervisor: QEMU 8.2.2
```
```
Approx. number of VMs per kVM host is in beteen 8 to 10 for me.
```

GitHub link: 
https://github.com/apache/cloudstack/discussions/12450#discussioncomment-15515831

----
This is an automatically sent email for [email protected].
To unsubscribe, please send an email to: [email protected]

Reply via email to