From 13cb638cbde60f3187030ca428b4428e3c04561a Mon Sep 17 00:00:00 2001 From: Jeff Trawick Date: Wed, 2 Dec 2009 14:24:18 +0000 Subject: [PATCH] Add OmitPID keyword on Mutex directive to suppress the addition of the parent pid to the generated lock file name. Change the Mutex directive syntax from Mutex default|mutex-name mechanism to Mutex mechanism [default|mutex-name] ... [OmitPID] as suggested by wrowe. (Thanks!) git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@886154 13f79535-47bb-0310-9956-ffa450edef68 --- docs/manual/mod/core.xml | 122 ++++++++++++++++++++------------------- include/util_mutex.h | 3 +- server/core.c | 4 +- server/util_mutex.c | 81 +++++++++++++++++++------- 4 files changed, 127 insertions(+), 83 deletions(-) diff --git a/docs/manual/mod/core.xml b/docs/manual/mod/core.xml index debba51780..c778bb6ad6 100644 --- a/docs/manual/mod/core.xml +++ b/docs/manual/mod/core.xml @@ -2232,8 +2232,8 @@ connection Mutex Configures mutex mechanism and lock file directory for all or specified mutexes -Mutex default|mutex-name mechanism -Mutex default default +Mutex mechanism [default|mutex-name] ... [OmitPID] +Mutex default server config Available in Apache 2.3.4 and later @@ -2266,61 +2266,6 @@ or specified mutexes can be configured if this directive is supported.

-

The following table documents the names of mutexes used by httpd - and bundled modules.

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Mutex nameModule(s)Protected resource
mpm-acceptprefork and worker MPMsincoming connections, to avoid the thundering herd problem; - for more information, refer to the - performance tuning - documentation
authdigest-clientmod_auth_digestclient list in shared memory
authdigest-opaquemod_auth_digestcounter in shared memory
ldap-cachemod_ldapLDAP result cache
rewrite-mapmod_rewritecommunication with external mapping programs, to avoid - intermixed I/O from multiple requests
ssl-cachemod_sslSSL session cache
ssl-staplingmod_sslOCSP stapling response cache
watchdog-callbackmod_watchdogcallback function of a particular client module
-

The following mutex mechanisms are available: