httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Marko Asplund <>
Subject [users@httpd] AcceptMutex directive issues on HP-UX 11.00
Date Wed, 08 Dec 2004 08:01:52 GMT

i'm having some issues with kernel semaphore limit settings with Apache 
2.0.51 on HP-UX 11.00. this problem are reported in the Apache bugzilla 
( and i've 
worked around it by configuring the fcntl mutex implementation to be 

what are the implications of switching from sysvsem to the fcntl 
method? or should i change kernel configuration instead? which mutex 
method should be used on HP-UX? we're running the same application also 
on Solaris 8 and Red Hat Enterprise Linux 3.0, what about these 

i found a documentation bug related to this issue. sysvsem is the 
default mutex method on HP-UX but the The Apache Performance Tuning 
guide ( says:

	"AcceptMutex sysvsem
		... Unfortunately SysV-style semaphores have some bad side-effects 
... For these reasons this method is not used on any architecture 
except IRIX ..."

apparently, only fcntl and sysvsem methods are supported on HP-UX. when 
i try configuring the pthread method i get the following error message:

Syntax error on line 54 of /foo/httpd/conf/httpd20.conf:
pthread is an invalid mutex mechanism; Valid accept mutexes for this 
platform and MPM are: default, fcntl, sysvsem.

even though APR has been built using the '-D APR_USE_PTHREAD_SERIALIZE' 

should the pthread method be available on HP-UX?

best regards,
View raw message