<div dir="ltr"><div><div><div><div><div>Oh, I figured it out.<br></div>1) We're using nginx to proxy websocket connections (we need HTTPS)<br></div>2) For some reason connections get leaked in that case (nginx bug? dunno)<br>
</div>3) cowboy by default allows only limited amount of connections<br><br></div>So after a while the number of opened connections reaches the limit and then it hangs<br><br></div>Now I've applied https patches from <a href="https://github.com/jshiell/rabbitmq-web-stomp">https://github.com/jshiell/rabbitmq-web-stomp</a> (I hope it will be merged to upstream) and web-stomp serves connections directly. No any leaks, works like a charm.<br>
<br>Regards, Nikita<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">2014-02-09 13:34 GMT+04:00 Michael Klishin <span dir="ltr"><<a href="mailto:michael.s.klishin@gmail.com" target="_blank">michael.s.klishin@gmail.com</a>></span>:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">2014-02-09 13:05 GMT+04:00 Nikita Tsukanov <span dir="ltr"><<a href="mailto:keks9n@gmail.com" target="_blank">keks9n@gmail.com</a>></span>:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<p>in RabbitMQ log and then even stomp/info stops responding to HTTP 
requests. It happens after several hours under load of about 100-150 
connections.</p>

<p>RabbitMQ itself and regular STOMP (that one on port 61613) continue working without any issues.</p></blockquote></div><br>Nikita,</div><div class="gmail_extra"><br></div><div class="gmail_extra">Thanks for reporting.<br>


<br clear="all"><div>Do you have a small script or something that reproduces the issue most of the time?</div><span class="HOEnZb"><font color="#888888">-- <br>MK<br><br><a href="http://github.com/michaelklishin" target="_blank">http://github.com/michaelklishin</a><br>


<a href="http://twitter.com/michaelklishin" target="_blank">http://twitter.com/michaelklishin</a><br>
</font></span></div></div>
<br>_______________________________________________<br>
rabbitmq-discuss mailing list<br>
<a href="mailto:rabbitmq-discuss@lists.rabbitmq.com">rabbitmq-discuss@lists.rabbitmq.com</a><br>
<a href="https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss" target="_blank">https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss</a><br>
<br></blockquote></div><br></div>