enable reuseport then only one worker is working?

Maxim Konovalov maxim at nginx.com
Tue Mar 1 17:54:36 UTC 2016


On 3/1/16 8:50 PM, Jim Ohlstein wrote:
> Hello,
> 
[...]
>>>>>>>>> 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 completely
>>>>>>>> different behavior and shouldn't be enabled in
>>>>>>>> nginx.
>>>>>>> 
>>>>>>> Should the configruation option then be disabled or
>>>>>>> silently ignored in FreeBSD at this time?
>>>>>> 
[...]
> My point is that I would like to see more rigorous, bullet-proof
> config parsing/testing on the part of nginx. This is one example.
> We can agree to disagree on its importance to users.
> 
This is definitely something that makes perfect sense. We will try
to figure out how to fix it when time permits.

-- 
Maxim Konovalov



More information about the nginx mailing list