KVM virtual machine shutting down frequently

scool

New Member
Sep 9, 2012
10
0
1
Hello,
After a fresh proxmox installation , a kvm VPS is shutting down by itself.
which logs do i have to monitor in order to debug this issue?

pve-manager/3.3-5/bfebec03 (running kernel: 2.6.32-34-pve)
 
For the first look at syslog in guest and host (messages and syslog in /var/log) Logfile in proxmoxhost are also easy to access at webinterface.
 
Do you have backup jobs?
If so, take a look on your backup logs.
 
Please specify, what do you mean under "no success"?
Backup failed? Or you have no backup jobs?
Is there are any error messages in virtual machine logs?
 
Please specify, what do you mean under "no success"?
Backup failed? Or you have no backup jobs?
Is there are any error messages in virtual machine logs?


no backup jobs are set.
virtual machine logs?

are there any other logs exept /var/log/messages and /var/log/syslog ?
 
I mean log files inside your VMs.
What OS do you use in VMs?
 
I am using Centos 6.6

well i have searched every logfile inside /var/log and i couldnt find any detailed information
 
I have many CentOS 6.6 virtual machines and each of it works just well (KVM machine, not OpenVZ container).
Well, let's check some things:
Is your VM KVM virtual machine or OpenVZ container?
How many VMs you use?
Is there are all of it shutting down?
How often your VM shutting down?
Can you specify exact time of shutting down?
Did you set "Start at boot" option on your VM?
And please make sure your host not rebooted itself.
 
Last edited:
its a kvm vm
3 kvm vm's
only one is shutting down by itself
once or twice per day
there isnt specific time, vm is shutting down randomly
start at boot is set to no
host isn't rebooted yet, although i am thinking doing a hardware reboot.
 
You may do 'apt get update && apt-get upgrade' and reboot your host.
Then watch your VMs.
 
a made a hardware reboot yesterday,
5 minutes ago the kvm vm shutdown it self.

the proxmox host doesn't keep any logs?
 
Please describe your VM.
Is it clean-installed or migrated from some system?
Maybe, VM has scheduled shutdown jobs?
 
i still haven't figure it out what its causing the random shutdowns.

its a clean kvm , fresh installation.
the host server is not running any kind of scheduled jobs/backup neither the same kvm.
Screenshot_1.jpg
 
Why don't you use virtio for disk and network?
Linux VM runs smoothly with virtio, with high performance.
 
After all this days i haven't managed to figure it out.
Finally i deleted the vm , and recreated
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!