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-fr

Re: [Xen-fr] Probleme bizarre avec allocation de memoire ... Impossible

To: xen-fr@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-fr] Probleme bizarre avec allocation de memoire ... Impossible demarer VMs
From: Rodolphe Quiedeville <rq@xxxxxxxxx>
Date: Fri, 22 Sep 2006 13:20:15 +0200
Delivery-date: Fri, 22 Sep 2006 04:20:29 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <4513C125.8080602@xxxxxxxxxx>
List-archive: <http://lists.xensource.com/archives/html/xen-fr>
List-help: <mailto:xen-fr-request@lists.xensource.com?subject=help>
List-id: xen-fr.lists.xensource.com
List-post: <mailto:xen-fr@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-fr>, <mailto:xen-fr-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-fr>, <mailto:xen-fr-request@lists.xensource.com?subject=unsubscribe>
References: <4513C125.8080602@xxxxxxxxxx>
Reply-to: xen-fr@xxxxxxxxxxxxxxxxxxx
Sender: xen-fr-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 1.5.0.5 (X11/20060812)
Le 22.09.2006 12:55, Sébastien CRAMATTE a ecrit :
> Bonjour,
> 
> J'ai rajouté 2G de ram a mon serveur mais Xen ne semble pas le prendre
> en compte
> J'alloue en general 128Mb ou 256Mb a chaque VM
> 
> appli1:~# xm list
> Name                              ID Mem(MiB) VCPUs State  Time(s)
> Domain-0                           0     2274     2 r-----   210.9
> dhcp-oficina                      11       64     1 -b----    19.5
> ns                                 5      128     1 -b----    23.8
> snmp                               6      256     1 ------  1505.6
> www                                7      256     1 -b----    21.5
> 
> 
> Comme vous pouvez le voir  Domain-0  voit bien les 3 G ...
> Seul hic ...
> 
> appli1:~# xm create dhcp-cpe
> Using config file "/etc/xen/dhcp-cpe".
> Error: I need 129 MiB, but dom0_min_mem is 196 and shrinking to 196 MiB
> would leave only 61 MiB free.
> 
> Que signifie ce message  ?
> Dans mon  fichier  xend-config.sxp j'ai conservé la  ligne
> 
> dom0-min-mem 196
> 
> Mais ça ne devrai pas être un probleme avec 3G de RAM ?
> 
> Merci de votre aide et de vos eclaircissements ...

Bonjour,

Le problème vient à mon sens que dom0 prend trop de mémoire justement,
tu devrais le limiter dans ton grub menu.lst, voici pour info le mien :

title Xen 3.0 / XenLinux 2.6
root            (hd0,1)
kernel          /boot/xen-3.0.gz dom0_mem=131072
module          /boot/vmlinuz-2.6-xen root=/dev/hda2 ro console=tty0
boot


Quand on fait un "xm list" on voit bien dom0 qui prend 128Mb au lieu du
Giga que comporte la machine.

Name                              ID Mem(MiB) VCPUs State  Time(s)
Domain-0                           0      128     4 r-----    49.2
caille                             4      128     1 -b----    13.2
canard                             3      128     1 ------    14.3
dinde                              1      128     1 ------    14.2
lapin                              5      128     1 ------     8.7
poulet                             2      128     1 -b----    14.9


A++


-- 
Rodolphe Quiedeville - Artisan Logiciel Libre
http://rodolphe.quiedeville.org/ - sip:rodolphe@xxxxxxxxxxxxxxx
Travaillons Libre - http://fr.lolix.org/


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

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