Commit 8930eef2 authored by Iustin Pop's avatar Iustin Pop
Browse files

Increase allowed missing memory to 512MB

Since Xen seems to “steal” some amounts of memory (depending on total
node memory), we increase the maximum allowed missing memory to 512MB,
based on gathered data from multiple machines.
parent 7b255913
......@@ -819,7 +819,7 @@ checkData nl il ktn _ =
- (nodeIdsk node il)
newn = Node.setFmem (Node.setXmem node delta_mem)
(Node.f_mem node - adj_mem)
umsg1 = if delta_mem > 16 || delta_dsk > 1024
umsg1 = if delta_mem > 512 || delta_dsk > 1024
then [printf "node %s is missing %d MB ram \
\and %d GB disk"
nname delta_mem (delta_dsk `div` 1024)]
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment