Hi
I''ve noticed that my machine becomes unstable from time to time.
Currently it''s running CentOS 5.1 x64 + Xen 3.1 and 1 domU. The dom0
runs Apache, PHP & MySQL for cacti / graphing, and the domU is a cPanel
VPS.
I can''t see where / how dom0''s memory limit is set, yet I
often see it
only having 5MB RAM left.
[root@venus ~]# free -m
total used free shared buffers cached
Mem: 513 467 45 0 43 213
-/+ buffers/cache: 210 302
Swap: 2047 0 2047
[root@venus ~]# xm list
Name ID Mem(MiB) VCPUs State Time(s)
Domain-0 0 513 1 r----- 1416.1
vm01 3 511 2 -b---- 348.1
This is just after a restart
xentop - 22:32:49 Xen 3.1.0-53.1.21.el5
2 domains: 1 running, 1 blocked, 0 paused, 0 crashed, 0 dying, 0 shutdown
Mem: 4183548k total, 1131112k used, 3052436k free CPUs: 2 @ 2666MHz
NAME STATE CPU(sec) CPU(%) MEM(k) MEM(%) MAXMEM(k)
MAXMEM(%) VCPUS NETS NETTX(k) NETRX(k) VBDS VBD_OO VBD_RD VBD_WR SSI
D
Domain-0 -----r 1416 0.1 525892 12.6 no limit
n/a 2 4 111435 32837 0 0 0 0
0
vm01 --b--- 348 0.1 524120 12.5 2097152
50.1 2 1 39773 15732 0 0 0 0
After running for a while the memory on dom0 is very little, and it''s a
bit slow. How do I increase the max mem for dom0 ?
--
Kind Regards
Rudi Ahlers
CEO, SoftDux
Web: http://www.SoftDux.com
Check out my technical blog, http://blog.softdux.com for Linux or other
technical stuff, or visit http://www.WebHostingTalk.co.za for Web Hosting stuff
_______________________________________________
Xen-users mailing list
Xen-users@lists.xensource.com
http://lists.xensource.com/xen-users
On Mon, Jun 23, 2008 at 4:24 PM, Rudi Ahlers <Rudi@softdux.com> wrote:> I can''t see where / how dom0''s memory limit is set, yet I often see it only > having 5MB RAM left. > > > [root@venus ~]# free -m > total used free shared buffers cached > Mem: 513 467 45 0 43 213 > -/+ buffers/cache: 210 302 > Swap: 2047 0 2047 > [root@venus ~]# xm list > Name ID Mem(MiB) VCPUs State Time(s) > Domain-0 0 513 1 r----- 1416.1 > vm01 3 511 2 -b---- 348.1 > > > This is just after a restart > > > xentop - 22:32:49 Xen 3.1.0-53.1.21.el5 > 2 domains: 1 running, 1 blocked, 0 paused, 0 crashed, 0 dying, 0 shutdown > Mem: 4183548k total, 1131112k used, 3052436k free CPUs: 2 @ 2666MHz > NAME STATE CPU(sec) CPU(%) MEM(k) MEM(%) MAXMEM(k) MAXMEM(%) > VCPUS NETS NETTX(k) NETRX(k) VBDS VBD_OO VBD_RD VBD_WR SSI > D > Domain-0 -----r 1416 0.1 525892 12.6 no limit n/a > 2 4 111435 32837 0 0 0 0 > 0 > vm01 --b--- 348 0.1 524120 12.5 2097152 50.1 > 2 1 39773 15732 0 0 0 0 > > > After running for a while the memory on dom0 is very little, and it''s a bit > slow. How do I increase the max mem for dom0 ?I''m confused. Looking at all this, it looks like your dom0 has 512MB, not 5MB. Same for VM01. What''s the output of xm info?? What are the specs for your machine? _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users