From ab1c293818ad9199644bb3e1ae3ae1683fc5ba84 Mon Sep 17 00:00:00 2001 From: Lai Jiangshan Date: Wed, 27 Apr 2016 21:45:59 +0800 Subject: [PATCH] extend the stack for hyper_container_init() container_setup_modules() needs a large stack Signed-off-by: Lai Jiangshan --- src/container.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/container.c b/src/container.c index b1060c4..c0e7f54 100644 --- a/src/container.c +++ b/src/container.c @@ -652,7 +652,7 @@ static int hyper_setup_pty(struct hyper_container *c) int hyper_start_container(struct hyper_container *container, int utsns, int ipcns, struct hyper_pod *pod) { - int stacksize = getpagesize() * 4; + int stacksize = getpagesize() * 42; struct hyper_container_arg arg = { .c = container, .pod = pod,