SO_REUSEPORT

Maxim Dounin mdounin at mdounin.ru
Wed Nov 25 13:17:10 UTC 2015


Hello!

On Wed, Nov 25, 2015 at 09:43:44AM +1100, SplitIce wrote:

> Issue found.
> 
> If worker_processes is set at the start of the config file the feature
> works fine, if it is set at the end of the config file it does not.

This looks like a bug, though unlikely it'll be fixed soon unless 
you'll provide a patch.  Trivial workaround is to configure 
worker_processes before listening sockets. 

Note well that configuring global options after the http{} block 
may beat your in some other places as well - but likely only in 
very exotic setups.

-- 
Maxim Dounin
http://nginx.org/



More information about the nginx-devel mailing list