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

thanks @jgotteswinter cc @weizhouapache 
I did take a quick look at the thread dump you shared. I'm seeing some 
hot/suspected threads (Roughly 2.1% of one core on average over the entire 
uptime),

```
"AgentOutRequest-Handler-2" #88 prio=5 os_prio=0 cpu=20647388.02ms 
elapsed=949378.81s tid=0x00007cc18814b210 nid=0xe5e2d runnable  
[0x00007cc0131f0000]
   java.lang.Thread.State: RUNNABLE
        at com.sun.jna.Native.invokePointer(Native Method)
        at com.sun.jna.Function.invokePointer(Function.java:497)
        at com.sun.jna.Function.invoke(Function.java:441)
        at com.sun.jna.Function.invoke(Function.java:361)
        at com.sun.jna.Library$Handler.invoke(Library.java:265)
        at jdk.proxy2.$Proxy17.virConnectGetHostname(jdk.proxy2/Unknown Source)
        at org.libvirt.Connect.getHostName(Unknown Source)
        at 
com.cloud.hypervisor.kvm.resource.LibvirtComputingResource.getHostVmStateReport(LibvirtComputingResource.java:4050)
        at 
com.cloud.hypervisor.kvm.resource.LibvirtComputingResource.getHostVmStateReport(LibvirtComputingResource.java:4005)
        at 
com.cloud.hypervisor.kvm.resource.LibvirtComputingResource.getCurrentStatus(LibvirtComputingResource.java:3703)
        at com.cloud.agent.Agent.processOtherTask(Agent.java:984)
        at com.cloud.agent.Agent$ServerHandler.doTask(Agent.java:1234)
        at com.cloud.utils.nio.Task.call(Task.java:83)
        at com.cloud.utils.nio.Task.call(Task.java:29)
        at 
java.util.concurrent.FutureTask.run([email protected]/FutureTask.java:264)
        at 
java.util.concurrent.ThreadPoolExecutor.runWorker([email protected]/ThreadPoolExecutor.java:1136)
        at 
java.util.concurrent.ThreadPoolExecutor$Worker.run([email protected]/ThreadPoolExecutor.java:635)
        at java.lang.Thread.run([email protected]/Thread.java:840)
```

Could it be something related to libvirt 10.0.0? (Because I've a running env 
for many days with libvirt 8.0 and I don't see this there. Though it is also 
OL8 host). Maybe if others experiencing this issue can share the libvirt 
version  to get some idea



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

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

Reply via email to