Core event directives
accept_mutex (Core event directives)
Coordinates accepting new connections between workers; default off on modern releases. Not needed with EPOLLEXCLUSIVE or reuseport.
Formal Syntax & Structure
nginx syntaxnginx
accept_mutex on | off;Parameters & Attributes
| Name | Type | Description |
|---|---|---|
| state | on | off | Coordinate acceptance of new connections across workers. Off by default since 1.11.3; unnecessary with EPOLLEXCLUSIVE or reuseport. |
Working Example
Example Snippetnginx
events { accept_mutex off; }