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

Manuel Traut manut at linutronix.de
Wed Dec 19 10:40:38 CET 2018


On 13:34 Mon 17 Dec     , Torben Hohn wrote:
> 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>
Reviewed-by: Manuel Traut <manut 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
> 
> 
> _______________________________________________
> elbe-devel mailing list
> elbe-devel at linutronix.de
> https://lists.linutronix.de/mailman/listinfo/elbe-devel



More information about the elbe-devel mailing list