Subject: kern/36979: Not enough semaphore sets by default
To: None <,,>
From: None <>
List: netbsd-bugs
Date: 09/13/2007 08:15:00
>Number:         36979
>Category:       kern
>Synopsis:       Various programs require more than 10 semaphore sets
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Sep 13 08:15:00 +0000 2007
>Originator:     Lloyd Parkes
>Release:        NetBSD 4.0_RC1
Must Have Coffee
System: NetBSD 4.0_RC1 NetBSD 4.0_RC1 (GENERIC) #30: Thu Sep 6 06:40:54 NZST 2007 sparc64
Architecture: sparc64
Machine: sparc64

mod_python (and anecdotally a number of other programs) create more
semaphore sets than NetBSD 4.0 has to offer. I expect that this wasn't
a problem in the past because we didn't have semaphores in NetBSD. I
see people complaining that NetBSD 4.0 has busted applications that
ran fine on older versions of NetBSD.

We really ought to bump up the number of semaphore sets by quite a bit
before the 4.0 release. Maybe 128 semaphore sets with 256 semaphores?


Build and install ap2-python. Watch Apache fail to start up with bad
messages about mutexes. This might require Apache 2.2 with the worker


I have no idea how to create more semaphore sets in NetBSD 4.0. There
are no config options for this documented in