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] Linux guest memory increasing daily

To: <xen-users@xxxxxxxxxxxxxxxxxxx>
Subject: RE: [Xen-users] Linux guest memory increasing daily
From: "[STD]Ein" <ein@xxxxxxxxxxxxxx>
Date: Wed, 14 Nov 2007 11:20:20 -0600
Delivery-date: Wed, 14 Nov 2007 09:21:18 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
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>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcgmqE3U58FJy1CPTki0QdqfKoRNlwAOSM8wAABIjcA=

This is typical behaviour for linux.  The linux kernel will attempt to allocate all available memory for disk caching, you will eventually see memory usage rise to ~90% and then sit around that point.

 

Inside top type ‘m’. This will add a memory summary at the top.

 


From: xen-users-bounces@xxxxxxxxxxxxxxxxxxx [mailto:xen-users-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of Andrew Hartono
Sent: November 14, 2007 4:23 AM
To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] Linux guest memory increasing daily

 

Hi All,

 

I am wondering if anybody experienced the same problem as me. I just finished creating a few linux vm each with 512mb vmemory on my Xenexpress 4.0.

After a few days the memory usage on each vm gradually increasing from 10%, and a few days later it became 30%. On my linux guest I only start mysqld service with minimum services on.

 

Any help or feedback would be appreciated.

 

Below is the top output from one of my vm:

 

top - 18:16:32 up 2 days,  3:05,  1 user,  load average: 0.00, 0.00, 0.00

Tasks:  35 total,   2 running,  33 sleeping,   0 stopped,   0 zombie

Cpu(s):  0.0%us,  0.0%sy,  0.0%ni,100.0%id,  0.0%wa,  0.0%hi,  0.0%si,  0.0%st

 

  PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND

    1 root      15   0  2048  636  544 S  0.0  0.1   0:00.00 init

    2 root      RT   0     0    0    0 S  0.0  0.0   0:00.00 migration/0

    3 root      34  19     0    0    0 S  0.0  0.0   0:00.00 ksoftirqd/0

    4 root      RT   0     0    0    0 S  0.0  0.0   0:00.00 watchdog/0

    5 root      10  -5     0    0    0 S  0.0  0.0   0:00.02 events/0

    6 root      10  -5     0    0    0 S  0.0  0.0   0:00.00 khelper

    7 root      16  -5     0    0    0 S  0.0  0.0   0:00.00 kthread

    9 root      10  -5     0    0    0 S  0.0  0.0   0:00.00 xenwatch

   10 root      13  -5     0    0    0 S  0.0  0.0   0:00.28 xenbus

   15 root      10  -5     0    0    0 S  0.0  0.0   0:00.00 kblockd/0

   16 root      20  -5     0    0    0 S  0.0  0.0   0:00.00 cqueue/0

   20 root      20  -5     0    0    0 S  0.0  0.0   0:00.00 khubd

   22 root      10  -5     0    0    0 S  0.0  0.0   0:00.00 kseriod

   76 root      25   0     0    0    0 S  0.0  0.0   0:00.00 pdflush

   77 root      15   0     0    0    0 S  0.0  0.0   0:00.00 pdflush

   78 root      20  -5     0    0    0 S  0.0  0.0   0:00.00 kswapd0

   79 root      20  -5     0    0    0 S  0.0  0.0   0:00.00 aio/0

  220 root      11  -5     0    0    0 S  0.0  0.0   0:00.00 kpsmoused

  239 root      18  -5     0    0    0 S  0.0  0.0   0:00.00 kmirrord

 

Thanks

 

andrew


No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.5.503 / Virus Database: 269.15.31/1129 - Release Date: 11/13/2007 9:22 PM

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
<Prev in Thread] Current Thread [Next in Thread>