pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: pkg/54619 (openjdk11: semaphore limit reached)



Synopsis: openjdk11: semaphore limit reached

State-Changed-From-To: open->analyzed
State-Changed-By: tnn%NetBSD.org@localhost
State-Changed-When: Wed, 20 Nov 2019 14:01:40 +0000
State-Changed-Why:
NetBSD has a hardcoded per-user semaphore limit of 256.
Running "java -version" creates 12 + NCPU semaphores.
So if you use MAKE_JOBS=32 on a 32 core machine that
will use at minimum 32 * (12 + 32) = 1408 semaphores.

The hardcoded limit in the kernel should be removed.
Even if we disable processor count detection during the
build it won't work properly with more than MAKE_JOBS=16.





Home | Main Index | Thread Index | Old Index