[elbe-devel] [PATCH 3/3] init default-init.xml: activate 10GiB swap in default initvm

Torben Hohn torben.hohn at linutronix.de
Mon Dec 17 13:34:13 CET 2018


1 GiB of RAM for the initvm is not very much. Its pretty easy to trigger
the oom killer, with pretty normal operations. When the oom killer strikes
inside the initvm its very hard for the user to see.

Activate 10 GiB of swap. Better to start swapping, than having the
elbe-daemon killed.

Signed-off-by: Torben Hohn <torben.hohn at linutronix.de>
---
 elbepack/init/default-init.xml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/elbepack/init/default-init.xml b/elbepack/init/default-init.xml
index 39c74442..ba37db31 100644
--- a/elbepack/init/default-init.xml
+++ b/elbepack/init/default-init.xml
@@ -50,6 +50,7 @@
 			<conf owner="pbuilder" key="pbuilder/mirrorsite" type="string" value="http://ftp.de.debian.org/debian"/>
 		</preseed>
 		<size>80G</size>
+		<swap-size>10GiB</swap-size>
 		<img>qcow2</img>
 		<portforwarding>
 			<forward>
-- 
2.11.0




More information about the elbe-devel mailing list