Commit 8aee0bfd authored by Olav Kvittem's avatar Olav Kvittem
Browse files

kill qstream-gap-an explicitely

parent fac88d14
Pipeline #45706 passed with stages
in 54 seconds
......@@ -10,7 +10,7 @@ use File::Basename;
use Getopt::Long;
use Time::HiRes qw(usleep);
my $pipe_size=2**19; # 0.5MB
my $pipe_size=2**20 - 1; # 1MB
my (@opt_cmd, $opt_v, $opt_h, $opt_debug);
my $usage="Usage\n$0 --cmd <command> --cmd ...
-pipe_size - buffering output to commands ($pipe_size)
......@@ -64,7 +64,7 @@ foreach $i ( 0.. $#cmds ){
$fh[$i]->open( "|$cmds[$i]" or die "Could not open cmd : $! :\n$cmd");
$fh[$i]->blocking(0);
$queues[$i]=();
set_pipe_size( $fh[$i], 2**20); # 1M
set_pipe_size( $fh[$i], $pipe_size); # 1M
}
while(<>){
......
......@@ -13,6 +13,9 @@ fi
if pgrep -u $USER -f "bin/crude-ana-gz " >/dev/null; then
pkill -u $USER -f "bin/crude-ana-gz "|| echo crude-ana-gz kill failed
fi
if pgrep -u $USER -f "bin/qstream-gap-ana " >/dev/null; then
pkill -u $USER -f "bin/qstream-gap-ana " # to be sure if it does not die by the above
fi
### kill yesterdays solutions
if pgrep -u $USER -f "bin/crude-spread-queue " >/dev/null; then
pkill -u $USER -f "bin/crude-spread-queue "|| echo crude-spread-queue kill failed
......
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