Andrea Monti
2013-Jun-19 16:37 UTC
Problem: xend.log says "VM restarting too fast. Refusing to restart to avoid loops"
Hi all, one of my servers crashed last sunday just right after a startup and I need to understand what was going on. I am running Windows 2008 R2 Standard Edition on Oracle VM 3.1 - Xen 4.1.2-OVM On sunday a scheduled task shutted down cleanly the vm. the shutdown started at Sun Jun 16 10:00:33 and it ended at 2013-06-16 10:00:46.938. xend.log says: [2013-06-16 10:00:45 7228] INFO (XendDomainInfo:2148) Domain has shutdown: name=0004fb00000600008f562ccf5ed488f8 id=6 reason=poweroff. So far, so good The same virtual machine has been started on Sun Jun 16 10:01:55 . xend.logs says [2013-06-16 10:01:56 7228] DEBUG (XendDomainInfo:106) XendDomainInfo.create([''vm'', [''name'', ''0004fb00000600008f562ccf5ed488f8''], [''memory'', 1536], [''maxmem'', 1536], ... ... [2013-06-16 10:01:57 7228] INFO (XendDomain:1225) Domain 0004fb00000600008f562ccf5ed488f8 (7) unpaused. once again so far so good After less than one minute xend.log says [2013-06-16 10:02:54 7228] WARNING (XendDomainInfo:2131) Domain has crashed: name=0004fb00000600008f562ccf5ed488f8 id=7. [2013-06-16 10:02:54 7228] ERROR (XendDomainInfo:2265) VM 0004fb00000600008f562ccf5ed488f8 restarting too fast (Elapsed time: 57.838376 seconds). Refusing to restart to avoid loops. [2013-06-16 10:02:54 7228] DEBUG (XendDomainInfo:3145) XendDomainInfo.destroy: domid=7 [2013-06-16 10:02:55 7228] DEBUG (XendDomainInfo:2473) Destroying device model [2013-06-16 10:02:55 7228] INFO (image:612) 0004fb00000600008f562ccf5ed488f8 device model terminated [2013-06-16 10:02:55 7228] DEBUG (XendDomainInfo:2480) Releasing devices WHAT !?!?! What does "VM restarting too fast" mean? Thanks for every answer Regards Andrea _______________________________________________ Xen-users mailing list Xen-users@lists.xen.org http://lists.xen.org/xen-users
Ian Campbell
2013-Jun-25 09:03 UTC
Re: Problem: xend.log says "VM restarting too fast. Refusing to restart to avoid loops"
On Wed, 2013-06-19 at 18:37 +0200, Andrea Monti wrote:> I am running Windows 2008 R2 Standard Edition on Oracle VM 3.1 - Xen > 4.1.2-OVMYou should probably contact OVM support.> After less than one minute xend.log says > > [2013-06-16 10:02:54 7228] WARNING (XendDomainInfo:2131) Domain has crashed: name=0004fb00000600008f562ccf5ed488f8 id=7. > [2013-06-16 10:02:54 7228] ERROR (XendDomainInfo:2265) VM 0004fb00000600008f562ccf5ed488f8 restarting too fast (Elapsed time: 57.838376 seconds). Refusing to restart to > avoid loops. > [2013-06-16 10:02:54 7228] DEBUG (XendDomainInfo:3145) XendDomainInfo.destroy: domid=7 > [2013-06-16 10:02:55 7228] DEBUG (XendDomainInfo:2473) Destroying device model > [2013-06-16 10:02:55 7228] INFO (image:612) 0004fb00000600008f562ccf5ed488f8 device model terminated > [2013-06-16 10:02:55 7228] DEBUG (XendDomainInfo:2480) Releasing devices > > > WHAT !?!?! > > What does "VM restarting too fast" mean?The domain keeps crashing. Xend will retry it a few times but will eventually give up rather than just keep banging its head against the wall. Unfortunately there is no clue as to the reason for the crash in the logs etc which you have shown here. Perhaps there was something a bit earlier in the log? Otherwise you could try adding ''on_crash = "preserve"'' to your domain configuration and see if that lets you see anything e.g. on the VNC etc. You should also check all the files under /var/log/xen and the xen dmesg ("xm dmesg") for clues. The OVM support guys can likely also direct you on OVM specific places to look etc. Ian.
Konrad Rzeszutek Wilk
2013-Jun-25 14:13 UTC
Re: Problem: xend.log says "VM restarting too fast. Refusing to restart to avoid loops"
On Tue, Jun 25, 2013 at 10:03:38AM +0100, Ian Campbell wrote:> On Wed, 2013-06-19 at 18:37 +0200, Andrea Monti wrote: > > > I am running Windows 2008 R2 Standard Edition on Oracle VM 3.1 - Xen > > 4.1.2-OVM > > You should probably contact OVM support.Yes please.> > > After less than one minute xend.log says > > > > [2013-06-16 10:02:54 7228] WARNING (XendDomainInfo:2131) Domain has crashed: name=0004fb00000600008f562ccf5ed488f8 id=7. > > [2013-06-16 10:02:54 7228] ERROR (XendDomainInfo:2265) VM 0004fb00000600008f562ccf5ed488f8 restarting too fast (Elapsed time: 57.838376 seconds). Refusing to restart to > > avoid loops. > > [2013-06-16 10:02:54 7228] DEBUG (XendDomainInfo:3145) XendDomainInfo.destroy: domid=7 > > [2013-06-16 10:02:55 7228] DEBUG (XendDomainInfo:2473) Destroying device model > > [2013-06-16 10:02:55 7228] INFO (image:612) 0004fb00000600008f562ccf5ed488f8 device model terminated > > [2013-06-16 10:02:55 7228] DEBUG (XendDomainInfo:2480) Releasing devices > > > > > > WHAT !?!?! > > > > What does "VM restarting too fast" mean? > > The domain keeps crashing. Xend will retry it a few times but will > eventually give up rather than just keep banging its head against the > wall. > > Unfortunately there is no clue as to the reason for the crash in the > logs etc which you have shown here. Perhaps there was something a bit > earlier in the log? > > Otherwise you could try adding ''on_crash = "preserve"'' to your domain > configuration and see if that lets you see anything e.g. on the VNC etc. > You should also check all the files under /var/log/xen and the xen dmesg > ("xm dmesg") for clues. The OVM support guys can likely also direct you > on OVM specific places to look etc.Correct. Please do open a ticket with them.> > Ian. > >