I have been running the same script in different terminal windows using different arguments. I have accumulated about 40 terminal windows. I am aware of using '&' to run all of these scripts in one window, and also GNU parallel. Though I am open to any suggestions using these commands that I may be missing.
Script:
$ python script.py arg1 arg2
However, I would like to know how to know the limit of processes that could be executed at the same time. I ask this because when I run the 40 terminal windows simultaneously, the script never seems to finish in any of the windows. Although I can run about 20 terminal windows with he script finishing.
EDIT: ulimit -a
core file size (blocks, -c) 0
data seg size (kbytes, -d) unlimited
file size (blocks, -f) unlimited
max locked memory (kbytes, -l) unlimited
max memory size (kbytes, -m) unlimited
open files (-n) 256
pipe size (512 bytes, -p) 1
stack size (kbytes, -s) 8192
cpu time (seconds, -t) unlimited
max user processes (-u) 709
virtual memory (kbytes, -v) unlimited