https://jira.sw.ru/browse/PSBM-44887
Signed-off-by: Cyrill Gorcunov <[email protected]> --- scripts/vz-cpt.in | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/scripts/vz-cpt.in b/scripts/vz-cpt.in index dba290f..44982e1 100755 --- a/scripts/vz-cpt.in +++ b/scripts/vz-cpt.in @@ -36,6 +36,15 @@ done [ -d $dumpdir ] && rm -rf $dumpdir +# +# FIXME +# +# Sometimes the container we're dumping has really a big +# number of files opened, so while proper fix is to modify +# CRIU logic and dump files in small chunks for temp solution +# simply increase the number of file descriptors allowed. +ulimit -n 8192 + mkdir -p $dumpdir && criu dump -vvvv -o dump.log \ --file-locks \ -- 2.5.0 _______________________________________________ Devel mailing list [email protected] https://lists.openvz.org/mailman/listinfo/devel
