I've been using GNU parallel for a while and it works quite well. However, I recently needed to run some very long commands and parallel complained that the command line was too long:
parallel: Error: Command line too long (223235 >= 131049) at input 0: cat /tmp/10110507/adadev34gv_213...
It is a bit weird since my shell seems supports commands longer than 131049:
$ getconf ARG_MAX 2621440
and had no trouble running a very long command:
$ perl -e 'print("true "."x"x10000000);' | bash $ echo $? 0
Does anyone know why it is so low and/or how to change it? thanks,