<div dir="ltr">Am I correct in understanding that vm's which aren't being actively used are moved to swap space to free more available RAM? If so, that might be what is causing my issue, since we usually have several VM's idle and not in direct use.</div>
<div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Jun 5, 2014 at 2:45 PM, Itamar Heim <span dir="ltr"><<a href="mailto:iheim@redhat.com" target="_blank">iheim@redhat.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="">On 06/05/2014 10:36 PM, Jeff Clay wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I'm concerned about disabling it and having unexpected behavior if the<br>
system actually does end up using all of its swap space. Any insight?<br>
</blockquote>
<br></div>
change the percentage threshold then.<br>
the idea is if you are swapping - its bad.<br>
though, if you also have a lot of free memory, its kind of absurd to block because there is a swap, but its not needed so it remains swapped.<br>
<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="">
<br>
On Jun 5, 2014 2:34 PM, "Itamar Heim" <<a href="mailto:iheim@redhat.com" target="_blank">iheim@redhat.com</a><br></div><div class="">
<mailto:<a href="mailto:iheim@redhat.com" target="_blank">iheim@redhat.com</a>>> wrote:<br>
<br>
On 06/05/2014 10:30 PM, Jeff Clay wrote:<br>
<br>
126455 MB total, 863 MB used, 125592 MB free<br>
That's what I'm showing right now, but I don't have as many VM's<br>
running at the moment. There are currently 8 running and I was<br>
getting<br>
that issue yesterday when I got around the 15 vm mark.<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
On Thu, Jun 5, 2014 at 2:07 PM, Itamar Heim <<a href="mailto:iheim@redhat.com" target="_blank">iheim@redhat.com</a><br>
<mailto:<a href="mailto:iheim@redhat.com" target="_blank">iheim@redhat.com</a>><br></div><div><div class="h5">
<mailto:<a href="mailto:iheim@redhat.com" target="_blank">iheim@redhat.com</a> <mailto:<a href="mailto:iheim@redhat.com" target="_blank">iheim@redhat.com</a>>>> wrote:<br>
<br>
On 06/05/2014 02:24 AM, Jeff Clay wrote:<br>
<br>
I'm getting the following error trying to start a VM. I<br>
have 64<br>
gb of<br>
RAM on this host. I got this error once before and<br>
found that my<br>
swap<br>
partition was only 2gb or so. I increased the swap size<br>
to 124GB<br>
and the<br>
problem went away. Below is the error when trying to<br>
start a VM and<br>
below that is what my output from "free -g". I don't<br>
see why I'm<br>
getting<br>
a swap file error when there's plenty of it available.<br>
<br>
<br>
* Cannot run VM. Host swap percentage is above the<br>
defined<br>
threshold.<br>
<br>
- Check your configuration parameters for Host<br>
Swap Percentage.<br>
* Cannot run VM. There is no host that satisfies current<br>
scheduling<br>
<br>
constraints. See below for details:<br>
* The host USARPAOVRTHOST02 did not satisfy internal<br>
filter<br>
Memory.<br>
<br>
<br>
<br>
<br>
[root@usarpaovrthost02 ~]# free -g<br>
total used free shared<br>
buffers<br>
cached<br>
Mem: 62 62 0 0<br>
0<br>
12<br>
-/+ buffers/cache: 50 12<br>
Swap: 123 12 110<br>
[root@usarpaovrthost02 ~]#<br>
[root@usarpaovrthost02 ~]#<br>
[root@usarpaovrthost02 ~]# swapon -s<br>
Filename Type<br>
Size Used<br>
Priority<br>
/dev/dm-1 partition<br>
129490936<br>
12811000 -1<br>
[root@usarpaovrthost02 ~]#<br>
<br>
<br>
<br></div></div>
______________________________<u></u>_____________________<br>
Users mailing list<br>
<a href="mailto:Users@ovirt.org" target="_blank">Users@ovirt.org</a> <mailto:<a href="mailto:Users@ovirt.org" target="_blank">Users@ovirt.org</a>> <mailto:<a href="mailto:Users@ovirt.org" target="_blank">Users@ovirt.org</a><br>
<mailto:<a href="mailto:Users@ovirt.org" target="_blank">Users@ovirt.org</a>>><br>
<a href="http://lists.ovirt.org/____mailman/listinfo/users" target="_blank">http://lists.ovirt.org/____<u></u>mailman/listinfo/users</a><br>
<<a href="http://lists.ovirt.org/__mailman/listinfo/users" target="_blank">http://lists.ovirt.org/__<u></u>mailman/listinfo/users</a>><div class=""><br>
<<a href="http://lists.ovirt.org/__mailman/listinfo/users" target="_blank">http://lists.ovirt.org/__<u></u>mailman/listinfo/users</a><br>
<<a href="http://lists.ovirt.org/mailman/listinfo/users" target="_blank">http://lists.ovirt.org/<u></u>mailman/listinfo/users</a>>><br>
<br>
<br>
what do you see under host general subtab for swap percentage?<br>
<br>
<br>
<br>
iirc, you can either disable the swap check via the config<br>
EnableSwapCheck, or change the threshold via<br></div>
BlockMigrationOnSwapUsagePerce<u></u>__ntage<div class=""><br>
(which would be a confusing name if it affects RunVm and not only<br>
migration...)<br>
<br>
</div></blockquote>
<br>
</blockquote></div><br></div>