These forums are locked and archived, but all topics have been migrated to the new forum. You can search for this topic on the new forum: Search for Removed KVM guests are still running. Why? on the new forum.
I have removed couple KVM guests through my Cloudmin UI, however running 'htop' in host's command line shows both deleted guest systems are still there and still are consuming server resources.
Why so? Do I have to reboot host system every time I delete any guest system?
I really don't want to do that to avoid other guests from downtime. How can I clean host from still spending server resources to deleted guests?
That seems like a bug - deleting a VM from within Cloudmin should kill the
kvm
process.Does killing that process manually with the
kill
command get rid of it?''
Yes, it does. That's how I am getting rid of those zombi processes. However, I decided to report it to the community too.
So if you create a VM in Cloudmin and then shut it down, does the process get terminated properly?
Also, does this happen for all VMs?
''
Well, I do things slightly differently than Cloudmin default way.
I first create a guest system with Cloudmin, which allows to specify only short hostname, for example 'host'. And then Cloudmin automatically appends to it the full hostname like 'host.mycentraldomain.tld'.
But then some of my guest systems need to use their own domains and hostnames, so I logged to newly created guest system and change update its hostname to something like 'newhost.guestdomain.tld', I change SSH port with guest system. And then I reflect those changes in Cloudmin interface, refresh the system and it successfully picks up new guest settings. To make sure I reboot the guest system.
However when I run 'htop' in host command line, it shows that old (non-existent) guest system host.mycentraldomain.tld is still running.
What exactly is htop displaying? A screenshot or paste of the output would be useful..
''
Jamie, thanks for your prompt reply, however first of all I already cleared zombi guests with kill command, secondly I try not to dispose any real data like hostnames of my guest systems on publicly open discussion forums. Anyway, you can consider this issue closed until someone else also will confirm it. It is not now critical to me, since I've learned how to kill such processes. But if you wonder hot to reproduce this situation just repeat my steps described above and you will see the same results.
Ok, feel free to email me directly at jcameron@virtualmin.com if you'd like to discuss this further.
I wasn't able to re-produce this on my test systems though.
''