high Traffic setup problem, module status don't deliver data

Valentin V. Bartenev vbart at nginx.com
Tue Feb 11 14:16:48 UTC 2014


On Tuesday 11 February 2014 18:06:38 Maxim Dounin wrote:
[..]
> > >(As for backlog size, I usually set it to something big enough to
> > >accomodate about 1 or 2 seconds of expected peek connection rate.
> > >That is, 1024 is good enough for about 500 connections per second.
> > >But with deferred on Linux, it looks like deferred connection are
> > >sitting in the same queue as normal ones, and this may drastically
> > >change things.)
> > 
> > OK. That means with deferred I should double or divide the listening value?
> 
> With deferred, it looks like all (potential) deferred connection 
> should be added to the value.  And it's very hard to tell how many 
> there will be.
> 

Deferred connections stay in syn backlog which controlled
by tcp_max_syn_backlog.

  wbr, Valentin V. Bartenev



More information about the nginx mailing list