How come nginx is only accepting 1 connection?

Maxim Dounin mdounin at mdounin.ru
Tue Jan 18 18:18:16 MSK 2011


Hello!

On Tue, Jan 18, 2011 at 11:07:20PM +0800, He Shiming wrote:

> On Tue, Jan 18, 2011 at 11:00 PM, Roberto De Ioris <roberto at unbit.it> wrote:
> >
> > How many processes/workers have you setup in uWSGI ?
> >
> > It look like you are running uWSGI with only one process (or thread, or async core)
> > add -p <n> and you should solve it
> >
> > --
> > Roberto De Ioris
> > http://unbit.it
> >
> >
> 
> Thanks but it didn't make any difference. I've seen 10 worker spawned,
> however, nginx isn't dispatching requests to these uwsgi workers, if
> opening more than 1 tab at a time.
> 
> Any other ideas?

Other ideas: don't test with browser, test with telnet/netcat.  Or 
at least make sure you're monitoring what's happening on the wire 
(with tcpdump/wireshark) while doing so.

For this particular case - most likly it's your browser which 
limits connections.

Maxim Dounin



More information about the nginx mailing list