> However, the sample configuration file supplied with Apache contains no
> AcceptMutex runtime directive nor did I come across documentation
> suggesting how it should be used or where I would learn the options for
> my system (linux, i686, kernel 2.4.7-10).

There's a good description of what the accept mutex is used for on the
Apache Performance Notes page at
http://httpd.apache.org/docs/misc/perf-tuning.html (search down for "accept
Serialization").

Essentially, the call to accept() needs to be serialized to support servers
that listen on multiple ports.  Also, serialization is a performance
optimization on servers that only listen on one port.  I assume that apaci
and/or configure made a good guess for your system when you compiled Apache,
but you can experiment with other methods.  Using a different mutex, if it
works at all, should only help or hurt performance (perhaps using fcntl is
really fast compared to pthreads on your OS).

--
Kyle Oppenheim
Tellme Networks, Inc.
http://www.tellme.com

Reply via email to