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

[Xen-users] Odd swap behavior

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] Odd swap behavior
From: Jack Downes <jack@xxxxxxxxxxxxxxxxxxxx>
Date: Sat, 09 Jul 2005 16:31:58 -0700
Delivery-date: Sat, 09 Jul 2005 22:31:38 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <20050709175833.38932.qmail@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
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>
References: <20050709175833.38932.qmail@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mozilla Thunderbird 1.0.2 (X11/20050317)
Hi,
I'm using XEN with gentoo base systems. Both the domain-0's and the domain-X's are gentoo.

I build my gentoo systems according to a script, and they are all identical, save for things like hostname, IP, user content, etc.

So here's my question/problem:

I have some 10 "Regular" or conventional gentoo servers.

Then I have around 8 Xen based servers most of which have 4 domain x's on them. These machine are all the same - dual pentium 4's, 2G ram, intel 865g chipset, big drives.

Okay, so the regular or conventional servers use ram and swap as expected - they allocate and deallocate swap as needed and I have uptimes on the order of 185day avg before I do a kernel rebuild or something.

On the xen machines, i HAVE TO reboot every 25 - 30 days because they NEVER deallocate swap usage and eventuall use 100% of the swap and also ram and then lock up hard if I don't reboot the machine before it gets there.

I can't use swapoff  and swapon again - here's the error I get:
server1 / # swapoff -a
swapoff: /dev/sda2: Cannot allocate memory



this machine, server1 has been up some 25 days now:
server1 / # w
15:25:41 up 25 days,  3:36,  1 user,  load average: 0.16, 0.13, 0.09
USER     TTY        LOGIN@   IDLE   JCPU   PCPU WHAT
root     vc/1      22Jun05  1.00s  0.04s  0.00s w

and our memory allocation is getting high:
server1 / # free -m
            total       used       free     shared    buffers     cached
Mem:           441        433          7          0         13        159
-/+ buffers/cache:        260        180
Swap:          964        582        382



I'm using xen-2.0.4 with kernel 2.6.10

Does anyone else have this issue, and what have you done to resolve it?

Thanks,
Jack


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

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