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] how to optimize CentOS XEN dom0?

To: Jeff Sturm <jeff.sturm@xxxxxxxxxx>
Subject: Re: [Xen-users] how to optimize CentOS XEN dom0?
From: Rudi Ahlers <Rudi@xxxxxxxxxxx>
Date: Fri, 25 Feb 2011 11:27:52 +0200
Cc: xen-users <xen-users@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Fri, 25 Feb 2011 01:29:22 -0800
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=default; d=softdux.com; h=MIME-Version:Reply-To:In-Reply-To:References:From:Date:Message-ID:Subject:To:Cc:Content-Type:Content-Transfer-Encoding:X-Assp-ID:X-Assp-Version:X-Source:X-Source-Args:X-Source-Dir; b=CsFxvFlfEtZQw0xkwCk4hAJd4hUhy10dIrxAQmsDI3nGVqCKoGgbK6NfxoI24aT/LoWtdalSWHV4MQewVvuB04UKF1cB/MKENuTebkJYfP6cRI10gMsI6aL47SjKVQVd;
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <64D0546C5EBBD147B75DE133D798665F0855C1EE@xxxxxxxxxxxxxxxxx>
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/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <sig.9034e247f6.AANLkTi=CK=SSKrcF4GBy79TZrd1O20_juB8aOFCpw5gG@xxxxxxxxxxxxxx> <64D0546C5EBBD147B75DE133D798665F0855C1EB@xxxxxxxxxxxxxxxxx> <sig.40350c01a3.AANLkTi=3myHdO2+iY9s59kPE_a92HcSVcbO-orXjDnyU@xxxxxxxxxxxxxx> <64D0546C5EBBD147B75DE133D798665F0855C1EE@xxxxxxxxxxxxxxxxx>
Reply-to: rudi@xxxxxxxxxxx
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
On Wed, Feb 23, 2011 at 6:13 PM, Jeff Sturm <jeff.sturm@xxxxxxxxxx> wrote:
>> -----Original Message-----
>> From: Rudi Ahlers [mailto:Rudi@xxxxxxxxxxx]
>> Sent: Wednesday, February 23, 2011 9:17 AM
>> To: Jeff Sturm
>> Cc: xen-users
>> Subject: Re: [Xen-users] how to optimize CentOS XEN dom0?
>>
>> These stats were taken a few minutes after the server was hard
> rebooted cause it
>> didn't respond anything on the network, internet or even console.
>
> I see.   Did the dom0 log anything (e.g. /var/log/messages) before it
> died?
>
> Might be helpful to install sysstat.  Using sar, I can see performance
> trends right up to the point where a server died, including load average
> and memory growth.
>
> -Jeff
>
>
>
> _______________________________________________



I see a lot of these errors in /var/log/messages shortly before it crashed:



Feb 22 15:27:14 zaxen01 kernel: HighMem: empty
Feb 22 15:27:14 zaxen01 kernel: 918 pagecache pages
Feb 22 15:27:14 zaxen01 kernel: Swap cache: add 2248198, delete
2248009, find 160685591/160898897, race 0+453
Feb 22 15:27:14 zaxen01 kernel: Free swap  = 0kB
Feb 22 15:27:14 zaxen01 kernel: Total swap = 4194296kB
Feb 22 15:27:14 zaxen01 kernel: Free swap:            0kB
Feb 22 15:27:14 zaxen01 kernel: 133120 pages of RAM
Feb 22 15:27:14 zaxen01 kernel: 22818 reserved pages
Feb 22 15:27:16 zaxen01 kernel: 105840 pages shared
Feb 22 15:27:16 zaxen01 kernel: 189 pages swap cached
Feb 22 15:27:17 zaxen01 kernel: Out of memory: Killed process 17464,
UID 99, (sendmail).
Feb 23 00:35:38 zaxen01 syslogd 1.4.1: restart.
Feb 23 00:35:38 zaxen01 kernel: klogd 1.4.1, log source = /proc/kmsg started.
Feb 23 00:35:38 zaxen01 kernel: Bootdata ok (command line is ro
root=/dev/System/root rhgb quiet xencons=tty6)
Feb 23 00:35:38 zaxen01 kernel: Linux version 2.6.18-194.32.1.el5xen
(mockbuild@xxxxxxxxxxxxxxxxxxxx) (gcc version 4.1.2 20080704 (Red Hat
4.1.2-48)) #1 SMP
Wed Jan 5 18:44:24 EST 2011
Feb 23 00:35:38 zaxen01 kernel: BIOS-provided physical RAM map:
Feb 23 00:35:38 zaxen01 kernel:  Xen: 0000000000000000 -
0000000020800000 (usable)
Feb 23 00:35:38 zaxen01 kernel: DMI 2.4 present.
Feb 23 00:35:38 zaxen01 kernel: ACPI: LAPIC (acpi_id[0x01]
lapic_id[0x00] enabled)
Feb 23 00:35:38 zaxen01 kernel: ACPI: LAPIC (acpi_id[0x03]
lapic_id[0x02] enabled)
Feb 23 00:35:38 zaxen01 kernel: ACPI: LAPIC (acpi_id[0x02]
lapic_id[0x01] enabled)
Feb 23 00:35:38 zaxen01 kernel: ACPI: LAPIC (acpi_id[0x04]
lapic_id[0x03] enabled)
Feb 23 00:35:38 zaxen01 kernel: ACPI: LAPIC_NMI (acpi_id[0x01] dfl dfl
lint[0x1])
Feb 23 00:35:38 zaxen01 kernel: ACPI: LAPIC_NMI (acpi_id[0x02] dfl dfl
lint[0x1])
Feb 23 00:35:38 zaxen01 kernel: ACPI: IOAPIC (id[0x02]
address[0xfec00000] gsi_base[0])
Feb 23 00:35:38 zaxen01 kernel: IOAPIC[0]: apic_id 2, version 32,
address 0xfec00000, GSI 0-23
Feb 23 00:35:38 zaxen01 kernel: ACPI: INT_SRC_OVR (bus 0 bus_irq 0
global_irq 2 dfl dfl)
Feb 23 00:35:38 zaxen01 kernel: ACPI: INT_SRC_OVR (bus 0 bus_irq 9
global_irq 9 high level)
Feb 23 00:35:38 zaxen01 kernel: Setting APIC routing to xen
Feb 23 00:35:38 zaxen01 kernel: Using ACPI (MADT) for SMP
configuration information
Feb 23 00:35:38 zaxen01 kernel: Allocating PCI resources starting at
d4000000 (gap: d0000000:2ff00000)
Feb 23 00:35:38 zaxen01 kernel: Built 1 zonelists.  Total pages: 133120
Feb 23 00:35:38 zaxen01 kernel: Kernel command line: ro
root=/dev/System/root rhgb quiet xencons=tty6
Feb 23 00:35:38 zaxen01 kernel: Initializing CPU#0
Feb 23 00:35:38 zaxen01 kernel: PID hash table entries: 4096 (order:
12, 32768 bytes)





-- 
Kind Regards
Rudi Ahlers
SoftDux

Website: http://www.SoftDux.com
Technical Blog: http://Blog.SoftDux.com
Office: 087 805 9573
Cell: 082 554 7532

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