Understanding the Events module

The Events module deals with the configuration of epoll, kqueue, select, poll, and more. This module consists of the following directives:

Name

Value

Default

Example

accept_mutex

on, off

on

off

accept_mutex_delay

interval (ms)

500ms

500ms

debug_connection

ip, cidr

none

192.168.1.1

devpoll_changes

number

32

64

devpoll_events

number

32

64

kqueue_changes

number

512

512

kqueue_events

number

512

512

epoll_events

number

512

512

multi_accept

on, off

off

on

rtsig_signo

signal number

SIGRTMIN+10

 

rtsig_overflow_events

number

16

24

rtsig_overflow_test

number

32

40

rtsig_overflow_threshold

number

10

3

use

Kqueue, rtsig, epoll, /dev/poll, select

decided ...

Get Nginx Module Extension now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.