variable
variable

Reputation: 9664

What happens when nginx worker connections (or max requests?) have exhausted?

Assuming worker_process is 4

And worker_connections is 500

This means there are 2000 max concurrent connections allowed.

  1. Does this mean 2000 is the max number of connections or max number of requests?

  2. What happens when the 2001th connection or request arrives? Will it be rejected or be added to queue?

Upvotes: 0

Views: 1289

Answers (1)

Olivier Masseau
Olivier Masseau

Reputation: 854

  1. It is max number of connections
  2. It will be rejected. There is no queue mechanism in nginx.

Upvotes: 1

Related Questions