LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Virtualization and Cloud
User Name
Password
Linux - Virtualization and Cloud This forum is for the discussion of all topics relating to Linux Virtualization and Linux Cloud platforms. Xen, KVM, OpenVZ, VirtualBox, VMware, Linux-VServer and all other Linux Virtualization platforms are welcome. OpenStack, CloudStack, ownCloud, Cloud Foundry, Eucalyptus, Nimbus, OpenNebula and all other Linux Cloud platforms are welcome. Note that questions relating solely to non-Linux OS's should be asked in the General forum.

Notices

Reply
 
Search this Thread
Old 03-17-2010, 02:11 PM   #1
Sander88
LQ Newbie
 
Registered: Mar 2010
Location: The Netherlands
Posts: 11

Rep: Reputation: 0
KVM Guest Crashes after 1 to 3 days


I'm using Ubuntu 9.10 as a KVM host. On this host there are 3 Debian 5 guests. When I start all the guests everything works fine, but after 1 to 3 days an exception (Kernel panic - not syncing: Fatal exception in interrupt) occurs.

After this error the KVM is dead, using all (100%) of his virtual CPU.

KVM Guest screenshot after crashing using VirtManager:


What is causing this fatal crash? Is it the virtual NIC ('vt82c598' in error message)?
 
Old 03-18-2010, 09:06 AM   #2
Chuck56
Member
 
Registered: Dec 2006
Location: Colorado
Distribution: Slackware
Posts: 421

Rep: Reputation: 58
The kernel crash errors can provide clues but the cause is often obscure. Process of elimination is required at this point.

Is it the same guest that fails or are all the guests failing? Is the failure happening around the same time or is it at a random time? Can the guest be started back up after failure or are there other issues? What do the guest and host logs show just before the failure?
 
Old 03-18-2010, 09:52 AM   #3
Sander88
LQ Newbie
 
Registered: Mar 2010
Location: The Netherlands
Posts: 11

Original Poster
Rep: Reputation: 0
Hi Chuck! Thank for your reply.

The crash happened 4 times on the same Guest. But this is the Guest that has currently the most (10 times more) network traffic. After a crash I have to force a shutdown. There are no problems when booting it again.

The 3 guests are made from the exact same installation (cloned). There is no specific time when it happens. Of 2 crashes I know that someone was uploading a lot of data to the guest.

I can't find any errors in the log files. I have checked all the systemlogs and the guest-specific log (/var/log/libvirt/qemu).

Some additional information:
Host kernel version: 2.6.31-20-server
KVM version: QEMU PC emulator version 0.11.0 (qemu-kvm-0.11.0), Copyright (c) 2003-2008 Fabrice Bellard
Network: Bridged
 
Old 03-18-2010, 10:06 AM   #4
Chuck56
Member
 
Registered: Dec 2006
Location: Colorado
Distribution: Slackware
Posts: 421

Rep: Reputation: 58
QEMU 12.3 is the most recent version. You should consider upgrading.

Since you suspect the network volume is the cause, are you using virtio network drivers? The default network emulators may not be able to keep up with the traffic volume.
 
Old 03-18-2010, 10:17 AM   #5
Sander88
LQ Newbie
 
Registered: Mar 2010
Location: The Netherlands
Posts: 11

Original Poster
Rep: Reputation: 0
I will download the source and try an update this weekend. The current installation is the newest ubuntu package.

Virtio is an option, but I don't think it's needed. The crash happens when the traffic increases, but it is not too much.
 
Old 03-18-2010, 10:23 AM   #6
Chuck56
Member
 
Registered: Dec 2006
Location: Colorado
Distribution: Slackware
Posts: 421

Rep: Reputation: 58
Quote:
Originally Posted by Sander88 View Post
Virtio is an option, but I don't think it's needed. The crash happens when the traffic increases, but it is not too much.
That's exactly why you need to use virtio network drivers. They improve network performance significantly over the standard network emulators.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Solaris 10 guest endless reboot under KVM/Qemu green_dood Linux - Software 6 12-13-2009 01:20 AM
KVM Hypervisor and Guest OS setup? Help! sheepy Linux - Server 3 10-15-2009 08:45 PM
XP Guest on Xen switch to KVM marinl Linux - Software 1 06-15-2009 11:25 AM
[KVM] adding guest computer to the network djgerbavore Linux - Networking 5 06-10-2009 02:01 PM
Are KVM guest able to use CPU features ? PlatinumX Linux - Hardware 1 01-03-2009 09:30 AM


All times are GMT -5. The time now is 11:15 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration