Nginx Listen directive with reuseport; SO_REUSEPORT

c0nw0nk nginx-forum at
Mon Oct 23 19:14:52 UTC 2017

So on each server you can add to your listen directive.

listen 8181 default bind reuseport;

Cloudflare use it and posted in on their blog and github here (benchmark
stats included)

GitHub :
Cloudflare Blog :

I question if it is ideal in a production high traffic enviorment if using
"reuseport" will be beneficial or it is best to just leave it out as it is
by default anyway.

Posted at Nginx Forum:,277041,277041#msg-277041

More information about the nginx mailing list