Submitted by Franco Nogarin on Tue, 09/10/2013 - 16:15 Pro Licensee
I dont know why but this page takes from 3-5 minutes to render and it gives no errors.
server-manager/list_kvms.cgi
Status:
Closed (fixed)
I dont know why but this page takes from 3-5 minutes to render and it gives no errors.
server-manager/list_kvms.cgi
Comments
Submitted by JamieCameron on Tue, 09/10/2013 - 18:44 Comment #1
What is the status of your VM when visiting this page - is it up, down, or is the host system down?
Submitted by Franco Nogarin on Wed, 09/11/2013 - 10:53 Pro Licensee Comment #2
this problem occurs when I :
eg:
http://cloudminmaster:10000/server-manager/edit_kvm.cgi?id=1365171404208090
I immediately see capture 1.
I waited 6 minutes 13 seconds and then saw capture 2.
Submitted by Franco Nogarin on Wed, 09/11/2013 - 11:04 Pro Licensee Comment #3
also the state of vms does not seem to make any difference, but usually some up some down.
Submitted by JamieCameron on Wed, 09/11/2013 - 15:21 Comment #4
So I had a look at the code used here, and found that the only potentially slow operation is looking up the IP addresses of VMs based on their hostnames. Can your Cloudmin master system resolve the names of all your VMs?
The next release of Cloudmin won't perform these lookups, as we don't actually need them in order to figure out which IPs are in use, as that data has already been collected.
Submitted by Franco Nogarin on Fri, 09/13/2013 - 08:50 Pro Licensee Comment #5
I think so, most if not all are in the local dns, but I will wait for next version of cloudmin, and see if it speeds up - Thanks, Oh, which version would this be? F
Submitted by JamieCameron on Fri, 09/13/2013 - 11:07 Comment #6
That will be version 7.3.
Let me know if you'd like to try a beta release to confirm this fix.
Submitted by Franco Nogarin on Fri, 09/13/2013 - 13:38 Pro Licensee Comment #7
THanks, I think I will wait tho, im a bit paranoid to try any beta/risky stuff this while my backups are not working right
Submitted by Franco Nogarin on Mon, 09/23/2013 - 12:10 Pro Licensee Comment #8
ok, I think that by setting up my DNS to use a local domain of .virtual for VMs and .hardware for Physical system and setting each hostname for my VMs to use it, I have made everything worse in terms of GUI being slow. Currently I have each *.serv file using
hostname mymv.virtual shortname myvm.virtual
Perhaps this is causing cloudmin to require a DNS lookup for every host every time? Maybe I should undo all of this and striclty use IP addresses?
Submitted by JamieCameron on Mon, 09/23/2013 - 16:05 Comment #9
Do you have a DNS domain that Cloudmin creates records in form new VMs? If so, and if your master system is configured to use its own DNS server in resolv.conf , lookups should be fast.
On the other hand if you are creating DNS entries for VMs manually and the master is slow or unable to resolve them, you may run into this kind of issue.
Submitted by Franco Nogarin on Mon, 09/23/2013 - 16:41 Pro Licensee Comment #10
My Cloudmin Master SMVMHOST is hosting bind for these domains each HOST is configured to use the SMVMHOST as its only DNS server Bind is configured to forward unknowns to a real DNS server The problem was a nameserver inside the firewall that could not see my domains listed in resolve.conf BEFORE my cloudmin master. THanks its super speedy again :D F
Submitted by JamieCameron on Mon, 09/23/2013 - 17:58 Comment #11
Great!
Submitted by Issues on Mon, 10/07/2013 - 18:41 Comment #12
Automatically closed -- issue fixed for 2 weeks with no activity.