<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<p>Hi, Datong:</p>
<p> I don't think fixing #753 resolves all the trouble: it does not
help for scenario 1 at all. For scenario 2, it only help if nginx
is terminated by SIGQUIT; however, Nginx could be killed by other
signals, say SIGKILL.<br>
</p>
<p>Thanks</p>
<p>Shuxin <br>
</p>
<br>
<div class="moz-cite-prefix">On 11/29/2016 11:11 PM, Datong Sun via
nginx-devel wrote:<br>
</div>
<blockquote
cite="mid:CAP69OkYdxp1mf0ohJ=E0_tN2cVxM8kQUi64oj95wk+pry0LfOg@mail.gmail.com"
type="cite">
<div dir="ltr">Hello Shuxin,
<div><br>
</div>
<div>I have seen the same issue before. As far as I can tell
this is simply a bug instead of by design (correct me if I'm
wrong). I can also confirm that nginx will leave behind the
listening socket file when terminated with SIGQUIT. There has
been a bug report opened more than a year ago (<a
moz-do-not-send="true"
href="https://trac.nginx.org/nginx/ticket/753">https://trac.nginx.org/nginx/ticket/753</a>)
but still not being fixed.</div>
<div><br>
</div>
<div>Thanks,</div>
<div>Datong</div>
</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">On Tue, Nov 29, 2016 at 1:30 PM, Shuxin
Yang <span dir="ltr"><<a moz-do-not-send="true"
href="mailto:shuxinyang.oss@gmail.com" target="_blank">shuxinyang.oss@gmail.com</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">Hi, There:<br>
<br>
Is there any reason not to delete UNIX domain socket
before bind? It is bit inconvenient when :<br>
<br>
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.<br>
<br>
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.<br>
<br>
<br>
Thanks<br>
<br>
Shuxin<br>
<br>
<br>
<br>
______________________________<wbr>_________________<br>
nginx-devel mailing list<br>
<a moz-do-not-send="true"
href="mailto:nginx-devel@nginx.org" target="_blank">nginx-devel@nginx.org</a><br>
<a moz-do-not-send="true"
href="http://mailman.nginx.org/mailman/listinfo/nginx-devel"
rel="noreferrer" target="_blank">http://mailman.nginx.org/mailm<wbr>an/listinfo/nginx-devel</a><br>
</blockquote>
</div>
<br>
<br clear="all">
<div><br>
</div>
-- <br>
<div class="gmail_signature" data-smartmail="gmail_signature">
<div dir="ltr">
<p
style="font-family:Helvetica;font-size:12px;color:rgb(64,64,64)"><b>Datong
Sun</b> | Systems Engineer<br>
<a moz-do-not-send="true"
href="mailto:datong@cloudflare.com"
style="color:rgb(47,123,191)" target="_blank">datong@cloudflare.com</a></p>
<p
style="font-family:Helvetica;font-size:12px;color:rgb(64,64,64)">1
888 99 FLARE | <a moz-do-not-send="true"
href="https://www.cloudflare.com/"
style="color:rgb(47,123,191)" target="_blank">www.cloudflare.com</a></p>
</div>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
nginx-devel mailing list
<a class="moz-txt-link-abbreviated" href="mailto:nginx-devel@nginx.org">nginx-devel@nginx.org</a>
<a class="moz-txt-link-freetext" href="http://mailman.nginx.org/mailman/listinfo/nginx-devel">http://mailman.nginx.org/mailman/listinfo/nginx-devel</a></pre>
</blockquote>
<br>
</body>
</html>