nginx-0.7.52

Igor Sysoev is at rambler-co.ru
Wed Apr 22 00:00:06 MSD 2009


On Tue, Apr 21, 2009 at 04:27:24PM +0100, Istv?n wrote:

> 2009/4/21 Igor Sysoev <is at rambler-co.ru>
> 
> > On Tue, Apr 21, 2009 at 04:52:09PM +0200, Roger Pack wrote:
> >
> > > >> I realized that during performance testing, all what I can tell you:
> > use the
> > > >> httperf instead if you have a chance.
> > > >> (do not forget to modify the FD_SETSIZE to higher value)
> > > >
> > > > BTW, nginx/Windows is currently build with FD_SETSIZE.
> > >
> > > did you mean "without defining FD_SETSIZE" or "with defining it?"
> >
> > I meant that nginx is built with FD_SETSIZE=1024
> 
> is it enough? haven't you seen performance issues with this configuration?

1024 is certainly not enough im modern web. However, select() is unscalable
method: on 1000 sockets the select() itself will be bottleneck: this is
the reason why kqueue, epoll, etc. had been implemented. With nginx you
may try to overcome this select/poll limit using several worker processes.


-- 
Igor Sysoev
http://sysoev.ru/en/





More information about the nginx mailing list