From 09adfdc62de2bbba71580839f735ec07a356c762 Mon Sep 17 00:00:00 2001 From: Michal Privoznik Date: Mon, 19 Aug 2013 11:54:05 +0200 Subject: [PATCH] docs: Discourage users to set hard_limit In one of my previous patches I am removing the hard_limit heuristic to guess the correct value if none set. However, it turned out, this limit is hard to guess even for users. We should advise them to not set the limit as their domains may be OOM killed. Sigh. --- docs/formatdomain.html.in | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/docs/formatdomain.html.in b/docs/formatdomain.html.in index 83d551ada0..4a927cc1a8 100644 --- a/docs/formatdomain.html.in +++ b/docs/formatdomain.html.in @@ -676,7 +676,11 @@
hard_limit
The optional hard_limit element is the maximum memory the guest can use. The units for this value are kibibytes (i.e. blocks - of 1024 bytes)
+ of 1024 bytes). However, users of QEMU and KVM are strongly + advised not to set this limit as domain may get killed by the kernel. + To determine the memory needed for a process to run is + + undecidable problem.
soft_limit
The optional soft_limit element is the memory limit to enforce during memory contention. The units for this value are