mirror of
https://git.savannah.gnu.org/git/parallel.git
synced 2024-11-27 00:17:54 +00:00
28 lines
1.1 KiB
Plaintext
28 lines
1.1 KiB
Plaintext
echo '### Test if we can deal with output > 4 GB'
|
|
### Test if we can deal with output > 4 GB
|
|
## echo | niceload --io 10 parallel -q perl -e '"\$a=\"x\"x1000000;for(0..4300){print \$a}"' | md5sum
|
|
echo | parallel --tmpdir /dev/shm -q perl -e '$a="x"x1000000;for(0..4300){print $a}' | md5sum
|
|
46a318993dfc8e2afd71ff2bc6f605f1 -
|
|
echo '**'
|
|
**
|
|
echo "### Test Force outside the file handle limit, 2009-02-17 Gave fork error"
|
|
### Test Force outside the file handle limit, 2009-02-17 Gave fork error
|
|
(echo echo Start; seq 1 20000 | perl -pe 's/^/true /'; echo echo end) | stdout parallel -uj 0 | egrep -v 'processes took|adjusting'
|
|
parallel: Warning: Only enough file handles to run 252 jobs in parallel.
|
|
Running 'parallel -j0 -N252 --pipe parallel -j0' or raising ulimit -n or /etc/security/limits.conf may help.
|
|
Start
|
|
end
|
|
echo '**'
|
|
**
|
|
echo '### Test of --retries on unreachable host'
|
|
### Test of --retries on unreachable host
|
|
seq 2 | stdout parallel -k --retries 2 -v -S 4.3.2.1,: echo
|
|
ssh: connect to host 4.3.2.1 port 22: Connection timed out
|
|
parallel: Warning: Could not figure out number of cpus on 4.3.2.1 (). Using 1.
|
|
echo 1
|
|
1
|
|
echo 2
|
|
2
|
|
echo '**'
|
|
**
|