MAX_THREADS
while (thread_count >= MAX_THREADS) {
rl.rlim_cur = (rl.rlim_max < MAX_THREADS ?
rl.rlim_max : MAX_THREADS);