Nginx flv stream gets too slow on 2000 concurrent connections

Reinis Rozitis r at roze.lv
Wed Jan 23 14:42:50 UTC 2013


> If somebody can help me improving nginx config will be helpful to him. I 
> apologize for bad engish :D

It is not always the nginx that needs tuning. What about OS?

Have you changed the default file descriptor limits? Something like “Nginx 
stream works very well on 1000~1500 concurrent connections“ might indicate 
you are hitting the default 1024 limit.
While since some kernel versions linux does autotuning still sometimes 
tweaking it a bit helps a lot: 
http://www.cyberciti.biz/faq/linux-tcp-tuning/   etc ..


rr 



More information about the nginx mailing list