From 6d5146b4dc7758e100c5b72562c48d912db183d7 Mon Sep 17 00:00:00 2001 From: Vitta Date: Fri, 3 Jan 2020 01:37:41 +0530 Subject: [PATCH] fix(core): disabling dumping cores Signed-off-by: Vitta --- docker/entrypoint-poolimage.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/docker/entrypoint-poolimage.sh b/docker/entrypoint-poolimage.sh index 330e3e991814..d4ccf4725fb4 100644 --- a/docker/entrypoint-poolimage.sh +++ b/docker/entrypoint-poolimage.sh @@ -14,6 +14,11 @@ echo "reference: " $0 if [ -z "$LOGLEVEL" ]; then LOGLEVEL=info fi + +# Disabling coredumps by default in the shell where zrepl runs +ulimit -c 0 +# Being ulimit shell specific, ulimit -c in container shows as unlimited + echo "sleeping for 2 sec" sleep 2 ARCH=$(uname -m)