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 Sat, Jan 23, 2010 at 10:21:09AM -0500, James Pifer wrote:
> > > 
> > > 
> > > # top
> > > 
> > > top - 20:02:11 up 39 days,  9:03,  2 users,  load average: 0.11, 0.85, 
> > > 1.25
> > > Tasks: 256 total,   1 running, 255 sleeping,   0 stopped,   0 zombie
> > > Cpu(s):  0.0%us,  0.1%sy,  0.0%ni, 98.5%id,  0.5%wa,  0.0%hi,  0.1%si,  
> > > 0.8%st
> > > Mem:   2095616k total,  1689848k used,   405768k free,    11624k buffers
> > > Swap:  2104472k total,  1476856k used,   627616k free,   406620k cached
> > >
> > 
> > xend is using 1,8 GB of memory? Is that normal? Even RES is almost 1 GB..
> > 
> > Please post the following logs:
> > 
> > - "xm log" 
> > - "xm dmesg"
> > - dom0 "dmesg"
> > - and if there's something related in /var/log/messages or /var/log/syslog
> > 
> > -- Pasi
> 
> Pasi,
> 
> Here's the info. I don't have a /var/log/syslog. What is dom0 "dmesg"? I
> tried that exact command and dom0 dmesg. 
>

Just run "dmesg" command in dom0 linux, and it'll print the dom0 kernel logs.

> I didn't see anything relevant in /var/log/messages so I attached the whole 
> thing. 
> 
> Thanks for the help. I would love to figure out why this keeps
> happening. 
> 

[2010-01-22 19:53:18 5610] ERROR (SrvBase:88) Request start failed.
Traceback (most recent call last):
  File "/usr/lib64/python2.6/site-packages/xen/web/SrvBase.py", line 85, in 
perform
    return op_method(op, req)
  File "/usr/lib64/python2.6/site-packages/xen/xend/server/SrvDomain.py", line 
77, in op_start
    return self.xd.domain_start(self.dom.getName(), paused)
  File "/usr/lib64/python2.6/site-packages/xen/xend/XendDomain.py", line 1040, 
in domain_start
    dominfo.start(is_managed = True)
  File "/usr/lib64/python2.6/site-packages/xen/xend/XendDomainInfo.py", line 
459, in start
    XendTask.log_progress(31, 60, self._initDomain)
  File "/usr/lib64/python2.6/site-packages/xen/xend/XendTask.py", line 209, in 
log_progress
    retval = func(*args, **kwds)
  File "/usr/lib64/python2.6/site-packages/xen/xend/XendDomainInfo.py", line 
2594, in _initDomain
    self._createDevices()
  File "/usr/lib64/python2.6/site-packages/xen/xend/XendDomainInfo.py", line 
2218, in _createDevices
    self.image.createDeviceModel()
  File "/usr/lib64/python2.6/site-packages/xen/xend/image.py", line 419, in 
createDeviceModel
    pid = os.fork()
OSError: [Errno 12] Cannot allocate memory


Uhm.. I wonder what memory it fails to allocate.

-- Pasi


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

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