O'Reilly logo

Nginx Module Extension by Usama Dar

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required