[Devel] [PATCH libvzctl] Workaround for cgroups freezer
Cyrill Gorcunov
gorcunov at virtuozzo.com
Fri Jan 15 02:54:07 PST 2016
Guys, there is a problem with signal delivery when we checkpoint
container together with freezer cgroup help. So until I resolve
the problem on kernel level, lets drop it from criu options so
it won't block the tests.
-------------- next part --------------
>From a3e2d49f4753b24a6b6fed6d83ef9e2ae8b01c96 Mon Sep 17 00:00:00 2001
From: Cyrill Gorcunov <gorcunov at openvz.org>
Date: Fri, 15 Jan 2016 13:50:28 +0300
Subject: [PATCH] scripts/vz-cpt.in: Disable cgroup freezer for a while
We've found a problem in signal delivery when cgroup
freezer is used for dumping stage. So disable it for
a while until kernel get fixed.
https://jira.sw.ru/browse/PSBM-43089
Signed-off-by: Cyrill Gorcunov <gorcunov at openvz.org>
---
scripts/vz-cpt.in | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/scripts/vz-cpt.in b/scripts/vz-cpt.in
index 972a325..1cc1718 100755
--- a/scripts/vz-cpt.in
+++ b/scripts/vz-cpt.in
@@ -30,6 +30,10 @@ exec 1>&2
dumpdir="$VE_DUMP_DIR".tmp
[ -d $dumpdir ] && rm -rf $dumpdir
+# Disable cgroup freezer for a while due to PSBM-43089
+# --freeze-cgroup $VE_FREEZE_CG \
+# once kernel get fixed we move it back
+
mkdir -p $dumpdir &&
criu dump -vvvv -o dump.log \
--file-locks \
@@ -41,7 +45,6 @@ criu dump -vvvv -o dump.log \
--enable-external-shari \
--enable-external-maste \
--root $VE_ROOT \
- --freeze-cgroup $VE_FREEZE_CG \
--ghost-limit 5M \
-t $VE_PID \
-D $dumpdir \
--
2.5.0
More information about the Devel
mailing list