Each call to IO_SendStringBackground forks and then adds the resulting PID to a table with 1024 entries. If we fork much faster than those jobs can finish (e.g. because the machine has few cores and is under heavy load), and do it 3000 times (as we did so far), then this can result in the ignoredpids table overflowing.
Each call to IO_SendStringBackground forks and then adds the resulting PID to a table with 1024 entries. If we fork much faster than those jobs can finish (e.g. because the machine has few cores and is under heavy load), and do it 3000 times (as we did so far), then this can result in the
ignoredpids
table overflowing.So let's only do this 1000 times, not 3000.
Resolves #105 Resolves #108