I used xargs and parellel to run heavy tasks with limited numbers of process on Amazon Linux, but the task was not executed sequentially after the firs
xargs
parellel