Commit d3bf9b81 authored by Olav Kvittem's avatar Olav Kvittem
Browse files

rollback to crude-spreadnoblock with increase pipesize

parent f7c6a199
Pipeline #45683 passed with stages
in 52 seconds
......@@ -40,15 +40,11 @@ else
sleep 3 # allow pipe to be created
fi
if ! pgrep -u $USER -f "gzip .*crude.pipe" >/dev/null; then
gzip -c $PIPE >> $logdir/crude-`date +%T`.gz &
fi
if ! pgrep -u $USER -f "bin/crude-spread-noblock " >/dev/null; then
# remove the previous scripts before the new crude-spread-ana starts
kill_family crude-spread-queue
if ! pgrep -u $USER -f "$bin/crude-ana-gz " > /dev/null; then
# make sure that qstream-gapa-ana deos not run already
if ! pgrep -u $USER -f "$bin/qstream-gap-ana " > /dev/null; then
$root/bin/crude-ana-gz &
fi
$root/bin/crude-spread-noblock "$index" $logdir $PIPE &
fi
if ! pgrep -u $USER -f "bin/trace.sh " >/dev/null; then
......
......@@ -18,7 +18,7 @@ if test ! -f $crudefile; then # sometimes redirected filenames is not shown
fi
json=$( echo $crudefile | sed -e s/crude-/gap-ana-/ -e 's/.gz/.json/' )
if test "$crudefile" != ""; then
zcat $crudefile | tail -f -n +0 | perl $root/bin/qstream-gap-ana $optadr \
tail -f -n +0 $crudefile | zcat | perl $root/bin/qstream-gap-ana $optadr \
-index $index -json $json -minloss 5 -head -win 50 -jitter 600 -
else
exit 1
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment