 
	
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-users] DomU max memory problem
 Same with Xen 3.3.0 Pavel Krejca wrote: Hi,when trying to run new domain under xen-3.2.1 with more than 127 MB memory set in config file, I get this error message: "Error: memory_dynamic_max must be less than or equal to memory_static_max"128 MB is probably default value for domu. I tried to raise it by "maxmem" option in guest config, but with same result (seems that maxmem keyword is ignored by xend). I also tried to increase mem limits with "xm mem-max" and "xm mem-set" on running domain, but it has no effect unless domain is restarted. But after reboot, I get the same error message. Last thing I tried was to hardcode higher default memory limit in XendConfig.py (and compiled it to .pyc) but it had no effect too.So my question is, how can I start guest domain with memory set to more than 128 MB? I suspect this value to be saved somewhere in xend cache, but I can't find it. Why does Balloon driver think that only 131064 KiB is free? Thanks for answer. My configuration follows:[xen]# cat /etc/xen/auto/testdomain.cfg kernel = "/boot/vmlinuz-xenU" cpus = "^0" maxmem = 512 memory = 256 name = "test_domain" vif = ['ip=192.168.0.2,bridge=eth0'] disk = ['phy:sdb1,sda1,w','phy:sdb2,sda2,w'] root = "/dev/sda1 ro" [xen]# tail /var/log/xen/xend.log[2008-09-12 15:03:46 11411] DEBUG (XendDomainInfo:84) XendDomainInfo.create(['vm', ['name', 'test_domain'], ['memory', 256], ['maxmem', 512], ['vcpus', 1], ['on_xend_start', 'ignore'], ['on_xend_stop', 'ignore'], ['cpus', '^0'], ['image', ['linux', ['kernel', '/boot/vmlinuz-xenU'], ['root', '/dev/sda1 ro']]], ['device', ['vbd', ['uname', 'phy:sdb1'], ['dev', 'sda1'], ['mode', 'w']]], ['device', ['vbd', ['uname', 'phy:sdb2'], ['dev', 'sda2'], ['mode', 'w']]], ['device', ['vif', ['ip', '192.168.0.2'], ['bridge', 'eth0']]]]) [2008-09-12 15:03:46 11411] DEBUG (XendDomainInfo:1618) XendDomainInfo.constructDomain [2008-09-12 15:03:46 11411] DEBUG (balloon:132) Balloon: 131072 KiB free; need 2048; done.[2008-09-12 15:03:46 11411] DEBUG (XendDomain:443) Adding Domain: 6[2008-09-12 15:03:46 11411] DEBUG (XendDomainInfo:1703) XendDomainInfo.initDomain: 6 256 [2008-09-12 15:03:46 11411] DEBUG (XendDomainInfo:1738) _initDomain:shadow_memory=0x0, memory_static_max=0x20000000, memory_static_min=0x0. [2008-09-12 15:03:46 11411] DEBUG (balloon:138) Balloon: 131064 KiB free; 0 to scrub; need 262144; retries: 20. [2008-09-12 15:03:46 11411] DEBUG (balloon:153) Balloon: setting dom0 target to 3744 MiB. [2008-09-12 15:03:46 11411] DEBUG (XendDomainInfo:693) Setting memory target of domain Domain-0 (0) to 3744 MiB. [2008-09-12 15:03:46 11411] ERROR (XendDomainInfo:1775) XendDomainInfo.initDomain: exception occurredTraceback (most recent call last):File "usr/lib64/python2.5/site-packages/xen/xend/XendDomainInfo.py", line 1747, in _initDomainballoon.free(memory + shadow)File "usr/lib64/python2.5/site-packages/xen/xend/balloon.py", line 154, in freedom0.setMemoryTarget(new_alloc_mb)File "usr/lib64/python2.5/site-packages/xen/xend/XendDomainInfo.py", line 697, in setMemoryTarget _______________________________________________ Xen-users mailing list Xen-users@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-users 
 
 | 
|  | Lists.xenproject.org is hosted with RackSpace, monitoring our |