Matthieu Baerts wrote: > ( cat "$cin" ; (...) ; cat "$cin" ) | \ > tee "$cinsent" | \ > (...) $mptcp_connect (...) > "$cout" > > > If I am not mistaken, we then have: > > - $cin = max 131MB: initial file > - $cinsent = 2 times $cin > - $sout = $cinsent > > → total: 5*$cin = max 655MB > > Was it the intension? Could we reduce the maximum size while keeping the > test valid? Yes, I think its safe to reduce the size though. Another option is to use /dev/zero as source and set the "sparse" flag for dd, this would also reduce /tmp usage.