|
|
|
|
|
|
|
|
|
|
xen-users
AW: [Xen-users] Odd Behavior....
We had a smilar problem.
When trying to create a vm (the first one here) the free memory of about 7G wasn’t
used. Instead xen tried to subtract the memory of the dom0. But the balloon didn’t
succeed and he subtracted more and more memory until he reached the dom0 min
mem and failed starting the vm.
Rebooting fixed this
issue for me.
Von:
xen-users-bounces@xxxxxxxxxxxxxxxxxxx
[mailto:xen-users-bounces@xxxxxxxxxxxxxxxxxxx] Im Auftrag von trilok nuwal
Gesendet: Montag, 20. August 2007
09:51
An: Samir Faci
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Betreff: Re: [Xen-users] Odd
Behavior....
This looks like a memory baolloning problem. It has some problem in
continuous memory allocation for the domain. You could try one thing , set dom0
memory to 1024M using dom0_mem=1024M then try to create the domains then it
could not be in memory allocation problem.
You have to pass to dom0_mem=1024M to dom0 kernel command line arguments and
reboot the machine.
Mostly this will resolve the probelm
Thanks,
Trilok
On 8/18/07, Samir
Faci <samir.list@xxxxxxxxx>
wrote:
I have several winxp machines defined, and they all seem to be working
fine.
My main server has 4GB of ram, and each of the client is allocated 384 MB.
For some reason once I have 4 machines up, it runs out of memory.
#free -m
total
used free
shared buffers cached
Mem:
3896
210
3685
0
3 19
-/+ buffers/cache:
187 3708
Swap:
7624
0 7624
#xm list
Name
ID Mem VCPUs State
Time(s)
Domain-0
0 3896 2
r----- 11.2
#xm info
host
: xen-testbed
release
: 2.6.16.52-xen
version
: #7 SMP Thu Aug 16 19:41:09 CDT 2007
machine
: x86_64
nr_cpus
: 2
nr_nodes
: 1
sockets_per_node : 1
cores_per_socket : 2
threads_per_core : 1
cpu_mhz
: 2812
hw_caps
: 178bfbff:ebd3fbff:00000000:00000010:00002001:00000000:0000001f
total_memory : 4094
free_memory :
127
xen_major
: 3
xen_minor
: 0
xen_extra
: .4-1
xen_caps
: xen-3.0-x86_64 hvm-3.0-x86_32 hvm-3.0-x86_32p hvm-3.0-x86_64
xen_pagesize : 4096
platform_params :
virt_start=0xffff800000000000
xen_changeset : unavailable
cc_compiler :
gcc version 3.4.6 (Gentoo Hardened 3.4.6-r2 p1.5 , ssp-3.4.6-1.0
cc_compile_by : root
cc_compile_domain : (none)
cc_compile_date : Thu Aug 9
16:21:48 CDT 2007
xend_config_format : 3
then I create 4 winxp machines with the same specs...
#xm list
Name
ID Mem VCPUs State
Time(s)
Domain-0
0 2423 2
r----- 30.8
winxp
1 392 1
-b---- 5.5
winxp2
2 392 1
------ 4.2
winxp3
3 392 1
------ 3.8
winxp4
4 392 1
r----- 1.5
now when I run
#free
-m
total
used free
shared buffers cached
Mem:
2423
314
2108
0
6 97
-/+ buffers/cache:
210 2212
Swap:
7624
0 7624
and when I try to create a 5th machine, I get an out of memory error.
Now, am I not understanding something, but why is my system memory dropping to
2423 in this case, should the total memory be constance at 4gb, it also claimes
to have 2108 free (which makes sense if the system had 4gb) but then it claims
it doesn't have enough memory to allocate the 384 for the 5th machine.
Xm info on the other hand, still sees 4g, and has 401 Ram free. I'm not
sure why starting 4 machines with 384 mb, would drop the memory so much.
Am I not understanding something, or missing something obvious? Please
help.
#xm info
host
: xen-testbed
release
: 2.6.16.52-xen
version
: #7 SMP Thu Aug 16 19:41:09 CDT 2007
machine
: x86_64
nr_cpus
: 2
nr_nodes
: 1
sockets_per_node : 1
cores_per_socket : 2
threads_per_core : 1
cpu_mhz
: 2812
hw_caps
: 178bfbff:ebd3fbff:00000000:00000010:00002001:00000000:0000001f
total_memory : 4094
free_memory :
401
xen_major
: 3
xen_minor
: 0
xen_extra
: .4-1
xen_caps
: xen-3.0-x86_64 hvm-3.0-x86_32 hvm-3.0-x86_32p hvm-3.0-x86_64
xen_pagesize : 4096
platform_params :
virt_start=0xffff800000000000
xen_changeset :
unavailable
cc_compiler :
gcc version 3.4.6 (Gentoo Hardened 3.4.6-r2 p1.5 , ssp-3.4.6-1.0
cc_compile_by : root
cc_compile_domain : (none)
cc_compile_date : Thu Aug 9
16:21:48 CDT 2007
xend_config_format : 3
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
|
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
|
<Prev in Thread] |
Current Thread |
[Next in Thread> |
- AW: [Xen-users] Odd Behavior....,
Uli Staerk <=
|
|
|
|
|