Slow virtual machine list #21225
Replies: 3 comments 2 replies
-
Yes, cockpit-machines feels quite slow when "Loading resources". I'll have a look. |
Beta Was this translation helpful? Give feedback.
-
The slowness is far away after logging in from my and Kleg's PC at home (we live 150 km apart). I am 100 km from the data center, my colleague is 50 km from the data center. The first loading of the list after login takes time, but every subsequent loading of the list is already instantaneous. But as soon as I log out and log in again, it takes a long time again. "next load" meant switching to another tab in the cockpit and returning to the virtual servers tab. Yes, that meant logging out and logging in as a user or root user in the cockpit. We restart the server only sometimes after an update, which takes approx. once a year. However, we tried the update to see if it would speed up loading. After the update, we rebooted the server and immediately after the reboot, the list of servers loaded quickly, but that only lasted a while, after a while the list started to be slow again. I tried removing the surrounding hosts from the cockpit and logging in as root instead of user. And the problem persists. It takes a long time to load the list for the first time after logging in. every other load is now instant until I log out and log in again, when the initial load of the list takes a long time again. |
Beta Was this translation helpful? Give feedback.
-
As I already wrote virsh commands are immediate. I try this:
Result:
|
Beta Was this translation helpful? Give feedback.
-
Hello,
while using the Cockpit I ran into a problem with the list of virtual machines loading slowly. The update didn't help. I read in the discussions that Cockpit has a limit for managing 20 machines. Can you please confirm if this limit actually exists? I couldn't find it directly in the documentation. If so, is it possible to somehow increase or optimize it? He needs to manage up to 60 virtual servers in the cockpit, and we don't want to wait for tens of seconds to load the list of virtual servers.
This problem of virtual server list loading too slowly only occurs when the list is loaded for the first time after login. Every next load is already immediate. I am sending screenshots of what it looks like to log out and log in again on the screenshots attached to this thread as attachments.
BTW: It loads slowly for us even on a server where there are only 19 VMs running + 2 VMs turned off.
journalctl -u cockpit:
writes only cockpit-tls: gnutls_handshake failed: A TLS fatal alert, which I associate with untrusted self-signed
journalctl -u libvirtd:
-- No entries --
The event log says this:
Sample stat:
Does anyone have experience with multiple VMs in the cockpit please? Also, does the VM list take a long time to load? What could it be and how to solve it?
Thank you for your help.
Beta Was this translation helpful? Give feedback.
All reactions