Welcome! Log In Create A New Profile

Advanced

Re: 98: Address already in use

Maxim Dounin
April 19, 2011 11:22AM
Hello!

On Tue, Apr 19, 2011 at 09:14:48AM -0400, slowgary wrote:

> Last night I stopped and started nginx and it resolved the issue.
>
> nginx -t
> the configuration file /etc/nginx/nginx.conf syntax is ok
> configuration file /etc/nginx/nginx.conf test is successful
>
>
> It really seems that somehow nginx couldn't realize that nginx itself
> was bound to those addresses.

As I already said - the problem is that EADDRINUSE error was
returned on listen() call for some reason, not on bind() as it
should. This is itself POSIX violation, but I believe we don't
mind adding Linux-specific workaround if the problem is common and
understood.

So the real question is "how this may happen?". So far I wasn't
able to reproduce it even on exactly the same OS. Please let us
know if you will be able to reproduce it.

Maxim Dounin

_______________________________________________
nginx mailing list
nginx@nginx.org
http://nginx.org/mailman/listinfo/nginx
Subject Author Posted

98: Address already in use

slowgary April 14, 2011 08:04AM

Re: 98: Address already in use

Maxim Dounin April 14, 2011 10:00AM

Re: 98: Address already in use

slowgary April 14, 2011 10:20AM

Re: 98: Address already in use

slowgary April 14, 2011 11:14AM

Re: 98: Address already in use

Hüseyin Mert April 14, 2011 01:48PM

Re: 98: Address already in use

slowgary April 14, 2011 02:19PM

Re: 98: Address already in use

slowgary April 14, 2011 02:21PM

Re: 98: Address already in use

António P. P. Almeida April 14, 2011 02:42PM

Re: 98: Address already in use

Igor Sysoev April 15, 2011 02:32AM

Re: 98: Address already in use

slowgary April 15, 2011 05:18AM

Re: 98: Address already in use

Maxim Dounin April 15, 2011 12:18PM

Re: 98: Address already in use

slowgary April 18, 2011 01:22PM

Re: 98: Address already in use

slowgary April 19, 2011 09:14AM

Re: 98: Address already in use

Maxim Dounin April 19, 2011 11:22AM

Re: 98: Address already in use

Peleke October 11, 2013 02:28PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 91
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready