Quick successive reload makes "bind () xxxx failed, Address already in use" error

Francis Daly francis at daoine.org
Sat Jan 27 13:31:16 UTC 2018

On Wed, Jan 24, 2018 at 11:13:54AM +0800, he.hailong5 at zte.com.cn wrote:

Hi there,

> I have a script runs two successive reloads, the first one is to remove a listen port from the stream block, and the second one is to add the same port back to the stream block.


If it is "I want to see what happens when I do that", that's perfectly
fine; carry on with the research.

If it is "I want to achieve some other objective, and this is a step
that I think is necessary", then perhaps there is an alternative way to
achieve that objective.


Francis Daly        francis at daoine.org

More information about the nginx mailing list