WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

Re: [Xen-users] My domain crashed :(

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] My domain crashed :(
From: "--[ UxBoD ]--" <uxbod@xxxxxxxxxxxx>
Date: Mon, 11 Feb 2008 20:10:46 +0000 (GMT)
Delivery-date: Mon, 11 Feb 2008 12:11:33 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <30181678.101202760527649.JavaMail.root@xxxxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Reply-to: uxbod@xxxxxxxxxxxx
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Hmmm.  Been doing some reading and it could be because I am using SMP and how 
the CPUs are being allocated.  I have tried to set Dom0 to only use one CPU by 
setting :-

# In SMP system, dom0 will use dom0-cpus # of CPUS
# If dom0-cpus = 0, dom0 will take all cpus available
(dom0-cpus 1)

But when I look at the xm dmesg I get :-

(XEN) CPU0: AMD Opteron(tm) Processor 250 stepping 0a
(XEN) Mapping cpu 0 to node 255
(XEN) Mapping cpu 1 to node 255
(XEN) CPU1: AMD Opteron(tm) Processor 250 stepping 0a
(XEN) Brought up 2 CPUs
(XEN) Dom0 has maximum 2 VCPUs

then xm vcpu-list gives :-

Name                              ID VCPUs   CPU State   Time(s) CPU Affinity
Domain-0                           0     0     0   r--    2671.5 any cpu
Domain-0                           0     1     -   --p      17.7 0
zimbra                             3     0     1   -b-     858.7 1

Does this all look correct ? I believe that Domain-0 is now pinned to CPU 0 and 
zimbra is pinned to CPU 1.  What is the first Domain-0 line telling me?

Regards,

-- 
--[ UxBoD ]--
// PGP Key: "curl -s http://www.splatnix.net/uxbod.asc | gpg --import"
// Fingerprint: F57A 0CBD DD19 79E9 1FCC A612 CB36 D89D 2C5A 3A84
// Keyserver: www.keyserver.net Key-ID: 0x2C5A3A84
// Phone: +44 845 869 2749 SIP Phone: uxbod@xxxxxxxxxxxxxxxx

----- "--[ UxBoD ]--" <uxbod@xxxxxxxxxxxx> wrote:

> This is what I have in my config file :-
> 
> name = "zimbra"
> uuid = "3bdf13f4-e740-7bb0-9736-6e676fd5fabf"
> maxmem = 2048
> memory = 2048
> vcpus = 1
> bootloader = "/usr/bin/pygrub"
> on_poweroff = "destroy"
> on_reboot = "restart"
> on_crash = "restart"
> vfb = [  ]
> disk = [ "tap:aio:/data/xen/zimbra.img,xvda,w" ]
> vif = [ "mac=00:16:3e:1e:ed:2e,bridge=xenbr0" ]
> 
> 
> Regards,

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.


_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users

<Prev in Thread] Current Thread [Next in Thread>