From 1e5ed62d2fabcba21df85105b31ffe78d5976777 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robin=20Ob=C5=AFrka?= Date: Sat, 23 Jul 2016 23:05:16 +0200 Subject: Fix pipeline --- backuper.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'backuper.sh') diff --git a/backuper.sh b/backuper.sh index 871965e..fba7c50 100644 --- a/backuper.sh +++ b/backuper.sh @@ -166,7 +166,10 @@ start_pipeline() { add_stage "pbzip2" add_stage "mbuffer -q -m 100M" add_stage "gpg -z0 -r robin.oburka@nic.cz -e" - add_stage "mbuffer -q -m 100M" + ## OK, this is strange. If store command fail, mbuffer forks itself with + ## PID that I'm not able to get (event from list of children). + ## ... and it takes 100% CPU. So, for now: Do not use mbuffer as the last one. + #add_stage "mbuffer -q -m 100M" start_store || die & PID_STORE=$! -- cgit v1.2.3