<p dir="ltr">I'm concerned about disabling it and having unexpected behavior if the system actually does end up using all of its swap space. Any insight?</p>
<div class="gmail_quote">On Jun 5, 2014 2:34 PM, "Itamar Heim" <<a href="mailto:iheim@redhat.com">iheim@redhat.com</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
On 06/05/2014 10:30 PM, Jeff Clay wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
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 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>>> 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 have 64<br>
gb of<br>
RAM on this host. I got this error once before and found that my<br>
swap<br>
partition was only 2gb or so. I increased the swap size to 124GB<br>
and the<br>
problem went away. Below is the error when trying to start a VM and<br>
below that is what my output from "free -g". I don't 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 defined<br>
threshold.<br>
<br>
- Check your configuration parameters for Host 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 filter<br>
Memory.<br>
<br>
<br>
<br>
<br>
[root@usarpaovrthost02 ~]# free -g<br>
total used free shared buffers<br>
cached<br>
Mem: 62 62 0 0 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 Size Used<br>
Priority<br>
/dev/dm-1 partition 129490936<br>
12811000 -1<br>
[root@usarpaovrthost02 ~]#<br>
<br>
<br>
<br>
______________________________<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>><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>
</blockquote>
<br>
iirc, you can either disable the swap check via the config EnableSwapCheck, or change the threshold via BlockMigrationOnSwapUsagePerce<u></u>ntage<br>
(which would be a confusing name if it affects RunVm and not only migration...)<br>
</blockquote></div>