[nycbug-talk] NetBSD, Apache and mod_python problems
Ivan "Rambius" Ivanov
rambiusparkisanius at gmail.com
Fri Feb 16 02:44:37 EST 2007
On 2/16/07, Brian A. Seklecki <lavalamp at spiritual-machines.org> wrote:
> If it is indeed trying to setup share mem, maybe you're running a
> non-GENERIC kernel w/o Sys-V shmem?
I am running a generic kernel - the one that comes with NetBSD
installation. I have not precompiled it.
> Ktrace tells all.
Unfortunately, I am not so skillful in NetBSD and in reading ktrace output :(
However, the reason is really related with lacking some Sys-V stuff.
The default value for AcceptMutex is sysvsem, and for some reason it
is not happy with it. According to httpd documentation AcceptMutex's
value can be flock, fcntl, posixsem, pthread or sysvsem.
It rejects completely pthread saying
Syntax error on line 31 of /usr/pkg/etc/httpd/httpd.conf:
pthread is an invalid mutex mechanism; Valid accept mutexes for this
platform and MPM are: default, flock, fcntl, sysvsem, posixsem.
sysvsem does not work either, although accepted. The remaining: flock,
fcntl, posixsem work and I am bale to execute python scripts in
I would be very grateful if you give me more details about the
different mutexes in apache and explain me why sysvsem and posixsem do
Tangra Mega Rock: http://www.radiotangra.com
More information about the talk