httpd-users mailing list archives

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

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 
(http://issues.apache.org/bugzilla/show_bug.cgi?id=22484) and i've 
worked around it by configuring the fcntl mutex implementation to be 
used.

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 
platforms?

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 (http://httpd.apache.org/docs-2.0/misc/perf-tuning.html) 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' 
flag.

should the pthread method be available on HP-UX?


best regards,
--
	aspa
Mime
View raw message