summaryrefslogtreecommitdiff
path: root/docs/configuration-directives/WSGIAcceptMutex.rst
blob: 818d021f4f5a2581c898c5ee04485675642ca9ff (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
===============
WSGIAcceptMutex
===============

:Description: Specify type of accept mutex used by daemon processes.
:Syntax: ``WSGIAcceptMutex Default`` | *method*
:Default: ``WSGIAcceptMutex Default``
:Context: server config

The ``WSGIAcceptMutex`` directive sets the method that mod_wsgi will use to
serialize multiple daemon processes in a process group accepting requests
on a socket connection from the Apache child processes. If this directive
is not defined then the same type of mutex mechanism as used by Apache for
the main Apache child processes when accepting connections from a client
will be used. If set the method types are the same as for the Apache
`AcceptMutex`_ directive.

Note that the ``WSGIAcceptMutex`` directive and corresponding features are
not available on Windows or when running Apache 1.3.

.. _AcceptMutex: http://httpd.apache.org/docs/2.4/mod/mpm_common.html#acceptmutex