Venkatesh Srinivas <vsrinivas@dragonflybsd.org> added the comment:
A sample program to exhaust this limit; bump the fork parameter as you see fit.
main() {
int i, j;
dup2(0, 3500);
for (i = 0 ; i < 1280; i++) {
j = fork();
if (j == 0)
pause();
}
pause();
}
_____________________________________________________
DragonFly issue tracker <bugs@lists.dragonflybsd.org>
<http://bugs.dragonflybsd.org/issue2019>
_____________________________________________________