in reply to How do you wait for a process to end ?
If memory serves me well, ulimit will help you here. Check your ulimit documentation on how to see (and change) this limit.
An easy test, would be to do a batch of one or two processes to validate your code.
You're using waitpid(), but could also do a wait() as well, as you want the call to block there.
Good luck.
|
|---|