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] Memory problems persist... Cannot allocate memory

On Thu, Dec 31, 2009 at 11:42:55PM -0500, James Pifer wrote:
> > > 
> > > Looks like dom0 is just about out of memory. It currently has 1 gb of
> > > RAM. Looks like I changed menu.lst on Dec 12 to give it 2 gb of RAM, but
> > > I haven't had a chance to restart it. It's been up for 29 days. It's a
> > > dual quad core machine with 32gb of ram. It will probably run 12-18
> > > domU's when all is said and done ranging anywhere from 512M to 4gb of
> > > ram. Mixed Windows and Linux. Do you think 2gb of ram is enough for dom0
> > > or should I go more, like 3 or 4gb?
> > > 
> > 
> > 2GB definitely should be enough.. afaik.
> > 
> > > "top" gives me:
> > > top - 14:18:13 up 29 days, 17:41,  3 users,  load average: 0.47, 0.77, 
> > > 0.71
> > > Tasks: 302 total,   3 running, 299 sleeping,   0 stopped,   0 zombie
> > > Cpu(s):  0.4%us,  0.1%sy,  0.0%ni, 98.4%id,  0.7%wa,  0.0%hi,  0.0%si,  
> > > 0.4%st
> > > Mem:   1047040k total,  1036656k used,    10384k free,     7816k buffers
> > > Swap:  2104472k total,  2104156k used,      316k free,    53876k cached
> > > 
> > 
> > So what's eating all the memory and swap? 
> > 
> > -- Pasi
> > 
> 
> What's the best way to see what's using all the memory and swap?
> 

For example "top", sort by memory usage by pressing shift+m.
Or just the usual "ps aux" output.

-- Pasi


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