Shuxin Yang
November 29, 2016 04:32PM
Hi, There:

Is there any reason not to delete UNIX domain socket before bind?
It is bit inconvenient when :

1). debugging: previous debugging session quit prematurely without
erasing the UNIX domain socket, and the subsequent debugging session
only see "address already in use" error message, and have to delete the
socket, and launch debugger again.

2). Writing deploy script. We need to make sure UNIX domain sockets are
completely delete before launching Nginx; also care must be taken to
keep the script and config file in sync, which is sometimes bit annoying.


Thanks

Shuxin



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

Why not remove UNIX domain socket before bind

Shuxin Yang 721 November 29, 2016 04:32PM

Re: Why not remove UNIX domain socket before bind

Datong Sun via nginx-devel 395 November 30, 2016 02:12AM

Re: Why not remove UNIX domain socket before bind

Shuxin Yang 420 November 30, 2016 02:40AM

Re: Why not remove UNIX domain socket before bind

Maxim Dounin 312 November 30, 2016 09:58AM

Re: Why not remove UNIX domain socket before bind

Shuxin Yang 314 November 30, 2016 11:32AM

Re: Why not remove UNIX domain socket before bind

Datong Sun via nginx-devel 351 December 01, 2016 04:18AM

Re: Why not remove UNIX domain socket before bind

Alexey Ivanov 334 December 01, 2016 04:22AM

Re: Why not remove UNIX domain socket before bind

Maxim Dounin 405 December 01, 2016 08:48AM



Sorry, you do not have permission to post/reply in this forum.

Online Users

Guests: 238
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 500 on July 15, 2024
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready