[issue2019] panic: file desc: malloc limit exceeded

Venkatesh Srinivas (via DragonFly issue tracker) sinknull at leaf.dragonflybsd.org
Sun Mar 6 05:25:01 PST 2011

Venkatesh Srinivas <vsrinivas at dragonflybsd.org> added the comment:

Commit 2994659f1e6c1ef260241491bceca91c9d2553b3 is a partial fix to the problem;
it does not handle overflows in the spinlock loop path in fdcopy and it is still
possible to make the system unusable with the sample program posted below.

Perhaps we should also raise the malloc zone limit to maxproc * MAX_FDS_PER_PROC?

DragonFly issue tracker <bugs at lists.dragonflybsd.org>

More information about the Bugs mailing list