Re: enable reuseport then only one worker is working?

2016-02-28 Thread Валентин Бартенев
On Sunday 28 February 2016 08:52:12 meteor8488 wrote: > Hi All, > > I just upgrade Nginx from 1.8 o 1.9 on my FreeBSD box. [..] > Did I miss anything in the configuration? or for a busy server, it's better > to use accept_mutex instead of reuseport? > [..] In FreeBSD the SO_REUSEPORT option has

Re: help to understand proxy_pass and proxy_cache

2016-02-28 Thread Payam Chychi
Hi If your http server is on linux, why not simply use iptables to limit the speed per request? Anyways, yes, you can use nginx to limit transfer speeds. Nginx has several examples on the wiki Cherrs, Payam chychi On Feb 28, 2016, 10:52 AM -0800, vampeta, wrote: > Hi guys, > i would like to

help to understand proxy_pass and proxy_cache

2016-02-28 Thread vampeta
Hi guys, i would like to understand if nginx can be used for my request, i try to explain: i have a http mpegts server we are 5 client normally someone think to connect all together to the server like: client1---> \ client2---> \ client3---> htt

enable reuseport then only one worker is working?

2016-02-28 Thread meteor8488
Hi All, I just upgrade Nginx from 1.8 o 1.9 on my FreeBSD box. After I enabled reuseport on my server, it seems now there is one worker always takes up 100% CPU and all the rest workers are use less than 1% CPU. In the day time it's OK because my website doesn't have lots of users. But at night it