Subject: pkg/36980: www/ap2-python uses too many locks for NetBSD 4.0_RC1
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: None <lloyd@archangel.must-have-coffee.gen.nz>
List: pkgsrc-bugs
Date: 09/13/2007 08:25:00
>Number:         36980
>Category:       pkg
>Synopsis:       www/ap2-python uses too many locks for NetBSD 4.0_RC1
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Sep 13 08:25:00 +0000 2007
>Originator:     Lloyd Parkes
>Release:        NetBSD 4.0_RC1
>Organization:
Must Have Coffee
>Environment:
System: NetBSD archangel.must-have-coffee.gen.nz 4.0_RC1 NetBSD 4.0_RC1 (GENERIC) #30: Thu Sep 6 06:40:54 NZST 2007 lloyd@thallid.must-have-coffee.gen.nz:/vol/scratch/obj/sparc64/sys/arch/sparc64/compile/GENERIC sparc64
Architecture: sparc64
Machine: sparc64
>Description:

ap2-python won't run on NetBSD 4.0_RC1 because it tries to create more
semaphore sets than the kernel actually has. 

>How-To-Repeat:

Build and install ap2-python. You may need to be using the worker MPM
in Apache 2.2. Apache will no longer startup.

>Fix:

Add "--with-max-locks=4" to CONFIGURE_ARGS. You can also work around
it by putting "PythonOption mod_python.mutex_locks 4" in your
http.conf file.