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