[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-users] how to optimize CentOS XEN dom0?


  • From: Juergen Gotteswinter <jg@xxxxxxxxxxxx>
  • Date: Fri, 25 Feb 2011 10:41:39 +0100
  • Cc: xen-users <xen-users@xxxxxxxxxxxxxxxxxxx>
  • Delivery-date: Fri, 25 Feb 2011 01:43:06 -0800
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

that means that your host is running out of memory... try to let more
ram left for the dom0

Am 25.02.11 10:27, schrieb Rudi Ahlers:
> 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)
> 
> 
> 
> 
> 


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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.