Welcome! Log In Create A New Profile

Advanced

Re: Curious about old bug

Maxim Dounin
July 02, 2009 05:14AM
Hello!

On Thu, Jul 02, 2009 at 12:22:22AM +0100, Avleen Vig wrote:

> I'm reading through the changelog from 0.6.35 -> 0.7.59, and saw this:
> Bugfix: now accept threshold depends on worker_connections
>
> I was wondering if anyone could tell me what that was?

Historically nginx worker stops accepting new connections for a
while if there are less than 100 connection structures available
(to make sure that already accepted connections may finish it's
work - since connection structures are used for proxy etc).

In 0.7.18 this threshold was changed from constant one to
worker_connections/8 to make sure that even workers configured
with less than 100 workers_connections can accept new connections
normally.

This shouldn't affect typical configurations (worker_connections >
1024).

Maxim Dounin
Subject Author Posted

Curious about old bug

Avleen Vig July 01, 2009 07:22PM

Re: Curious about old bug

Maxim Dounin July 02, 2009 05:14AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 158
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready