httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Axel-St├ęphane SMORGRAV <>
Subject [users@httpd] Apache 2.0: Recommended Mutex types for Solaris 8,9,10
Date Mon, 03 Oct 2005 09:17:38 GMT
As far as I can tell, in Apache versions 2.0.49 and prior the default Mutex type (at least
for AcceptMutex) was pthread. It then changed to fcntl around Apache 2.0.50 leading me to
post the following issue, and explicitly
set both mutexes to pthread which appeared to solve the problem.

Several people have since posted similar problems and solved the issue by explicitly setting
the mutex types to something other than AcceptMutex default and SSLMutex default.

Does anyone have any idea of the pros and cons of the different mutex types, provided they
are available on any given platform? Is there any reason to use a different mutex implementation
for AcceptMutex than you would for SSLMutex? What are the performance and operational issues
with each mutex type?

Personally on Solaris I am reluctant to use a file-based mutex (fcntl or flock) for performance
reasons, and I am reluctant to use a semaphore because I already have enough problems with
orphaned semaphores as it is. I would however like to hear from someone that has some hard
evidence of one type being better than the other.


The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message