<div dir="ltr"><div>Maxim,</div><div>I am noticing this with our modules. Although, we do not do not message with any nginx reference counting etc.</div><div>At most, we are sending 403-forbidden for some requests. Could you suggest some ways about debugging this?</div><div>Thanks.</div><div><br></div><div>Bhasker.</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">------------------------------------------------------------------------</div><div dir="ltr" class="gmail_attr"><span style="color:rgb(0,0,0);font-family:Arial;font-size:medium;font-variant-ligatures:normal">This alert means that request reference counting is incorrect, and</span><br style="clear:both;color:rgb(0,0,0);font-family:Arial;font-size:medium;font-variant-ligatures:normal"><span style="color:rgb(0,0,0);font-family:Arial;font-size:medium;font-variant-ligatures:normal">this is serious enough to investigate as soon as possible.</span><br style="clear:both;color:rgb(0,0,0);font-family:Arial;font-size:medium;font-variant-ligatures:normal"><span style="color:rgb(0,0,0);font-family:Arial;font-size:medium;font-variant-ligatures:normal">Depending on various other factors, this can also result in socket</span><br style="clear:both;color:rgb(0,0,0);font-family:Arial;font-size:medium;font-variant-ligatures:normal"><span style="color:rgb(0,0,0);font-family:Arial;font-size:medium;font-variant-ligatures:normal">leaks, segmentation faults, or even remote code execution.</span><br style="clear:both;color:rgb(0,0,0);font-family:Arial;font-size:medium;font-variant-ligatures:normal"><br style="clear:both;color:rgb(0,0,0);font-family:Arial;font-size:medium;font-variant-ligatures:normal"><span style="color:rgb(0,0,0);font-family:Arial;font-size:medium;font-variant-ligatures:normal">If you are seeing this with standard modules, please provide more</span><br style="clear:both;color:rgb(0,0,0);font-family:Arial;font-size:medium;font-variant-ligatures:normal"><span style="color:rgb(0,0,0);font-family:Arial;font-size:medium;font-variant-ligatures:normal">details. Ideally - steps how to reproduce this, though</span><br style="clear:both;color:rgb(0,0,0);font-family:Arial;font-size:medium;font-variant-ligatures:normal"><span style="color:rgb(0,0,0);font-family:Arial;font-size:medium;font-variant-ligatures:normal">configuration and debug logs of a particular request should be</span><br style="clear:both;color:rgb(0,0,0);font-family:Arial;font-size:medium;font-variant-ligatures:normal"><span style="color:rgb(0,0,0);font-family:Arial;font-size:medium;font-variant-ligatures:normal">enough. If you are seeing this with your own or 3rd party</span><br style="clear:both;color:rgb(0,0,0);font-family:Arial;font-size:medium;font-variant-ligatures:normal"><span style="color:rgb(0,0,0);font-family:Arial;font-size:medium;font-variant-ligatures:normal">modules, likely this indicate a bug in these modules.</span><br style="clear:both;color:rgb(0,0,0);font-family:Arial;font-size:medium;font-variant-ligatures:normal"><br style="clear:both;color:rgb(0,0,0);font-family:Arial;font-size:medium;font-variant-ligatures:normal"><span style="color:rgb(0,0,0);font-family:Arial;font-size:medium;font-variant-ligatures:normal">--</span><br style="clear:both;color:rgb(0,0,0);font-family:Arial;font-size:medium;font-variant-ligatures:normal"><span style="color:rgb(0,0,0);font-family:Arial;font-size:medium;font-variant-ligatures:normal">Maxim Dounin</span><br style="clear:both;color:rgb(0,0,0);font-family:Arial;font-size:medium;font-variant-ligatures:normal"><span style="color:rgb(0,0,0);font-family:Arial;font-size:medium;font-variant-ligatures:normal"><a href="http://mdounin.ru/">http://mdounin.ru/</a></span><br style="clear:both;color:rgb(0,0,0);font-family:Arial;font-size:medium;font-variant-ligatures:normal"><span style="color:rgb(0,0,0);font-family:Arial;font-size:medium;font-variant-ligatures:normal">_______________________________________________</span><br style="clear:both;color:rgb(0,0,0);font-family:Arial;font-size:medium;font-variant-ligatures:normal"><span style="color:rgb(0,0,0);font-family:Arial;font-size:medium;font-variant-ligatures:normal">nginx-devel mailing list -- <a href="mailto:nginx-devel@nginx.org">nginx-devel@nginx.org</a></span><br style="clear:both;color:rgb(0,0,0);font-family:Arial;font-size:medium;font-variant-ligatures:normal"><span style="color:rgb(0,0,0);font-family:Arial;font-size:medium;font-variant-ligatures:normal">To unsubscribe send an email to <a href="mailto:nginx-devel-leave@nginx.org">nginx-devel-leave@nginx.org</a></span><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex"><div dir="ltr">Hi,<div>What is the significance of this alert in ngx_http_close_request</div><div><br></div><div>    if (r->count == 0) {<br>        ngx_log_error(NGX_LOG_ALERT, c->log, 0, "http request count is zero");<br>    }<br></div><div><br></div><div>I am seeing this alert in my logs in some cases.</div><div><br></div><div>Dk.</div></div>
</blockquote></div></div>