[pypy-issue] [issue1644] FreeBSD: test_multiprocessing hangs

Tobias Oberstein tracker at bugs.pypy.org
Tue Nov 19 10:18:20 CET 2013

Tobias Oberstein <tobias.oberstein at gmail.com> added the comment:

This _might_ be related to Posix semaphores (whcih apparently are used by the
multiprocessing module and hence the tests) on FreeBSD. Probably max number,
probably anyonymous shared (in SHM), probably named shared cross-process. I'm
not sure. I dump a couple of infos here for reference:


"sysctl p1003_1b.sem_nsems_max" gives the maximum number of POSIX semaphores
(per process? system wide?).

Since FreeBSD 8.1, "sudo sysctl -w p1003_1b.sem_nsems_max=256" can be used to
change this limit at runtime.



p1003_1b.sem_nsems_max is currently set to 0 on the FreeBSD buildslave. I don't
know what that means: a) unlimited, b) kernel source default max? I don't think
it literally means 0.

PyPy bug tracker <tracker at bugs.pypy.org>

More information about the pypy-issue mailing list