If the minimal values computes by the code are not enough then the only real solution is to fix the programs with large per-thread memory requirements e.g. set RLIMIT_STACK to a reasonable value.
We do not want to penalize all of the other programs that don't need the extra stack space.
If the minimal values computes by the code are not enough then the only real solution is to fix the programs with large per-thread memory requirements e.g. set RLIMIT_STACK to a reasonable value.
We do not want to penalize all of the other programs that don't need the extra stack space.