<div dir="ltr"><div><br></div><div>Hi Dmitri Minaev,</div><div><br></div><div>        I am facing same problem with rabbitmq 3.2.2 ( I have gone through this thread and already checked memory and number of file-descriptors are not causing the problem). If you have solved that problem then please share the solution.  </div><div><br></div><div>Thanks,</div><div>Maulik</div><br><br>On Monday, 26 March 2012 11:15:45 UTC+5:30, Dmitri Minaev  wrote:<blockquote class="gmail_quote" style="margin: 0;margin-left: 0.8ex;border-left: 1px #ccc solid;padding-left: 1ex;">On 9 March 2012 16:37, Simon MacMullen <<a href="javascript:" target="_blank" gdf-obfuscated-mailto="qg9JUcMwJLkJ" onmousedown="this.href='javascript:';return true;" onclick="this.href='javascript:';return true;">si...@rabbitmq.com</a>> wrote:<br>> On 09/03/12 07:57, Dmitri Minaev wrote:<p>>> If I understand correctly, the number of file descriptors used by<br>>> RabbitMQ in normal situation is roughly equal to the number of<br>>> `rabbitmqctl list_connections` + some constant (~30)? In case of that<br>>> hanging server, the number of AMQP connections never was close to the<br>>> FD limit (ulimit -n is 1024, fs.file-max = 1605698). The graph<br>>> reflecting  the number of open AMQP connections is attached to this<br>>> message.<br>><br>><br>> It's not really a constant, but to a first approximation, yes.<br>><br>> Ultimately, the error I saw being passed up from the OS was ENFILE - that's<br>> pretty unambiguous :)<br>><br>> It's possible that if you're churning connections then "closed" connections<br>> in FIN_WAIT2 could account for the majority of the used FDs. In 2.8.0 we'll<br>> set SO_LINGER to 0 to prevent this.</p><p>I am still not sure about the role of the file descriptors in this<br>event. Last Friday, our Rabbit died again. Until the very last moment<br>the number of open file descriptors as reported by the management<br>plugin was 143 out of the total available number of 32765. It was<br>RabbitMQ v.2.7.0. On that same day I have upgraded to 2.8.1. Will<br>report on its behaviour later.</p><p>-- <br>With best regards,<br>Dmitri Minaev<br>______________________________<wbr>_________________<br>rabbitmq-discuss mailing list<br><a href="javascript:" target="_blank" gdf-obfuscated-mailto="qg9JUcMwJLkJ" onmousedown="this.href='javascript:';return true;" onclick="this.href='javascript:';return true;">rabbitmq...@lists.<wbr>rabbitmq.com</a><br><a href="https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss" target="_blank" onmousedown="this.href='https://www.google.com/url?q\75https%3A%2F%2Flists.rabbitmq.com%2Fcgi-bin%2Fmailman%2Flistinfo%2Frabbitmq-discuss\46sa\75D\46sntz\0751\46usg\75AFQjCNEa7MyKsA1XPSVZIhQM5kBuKmKiKg';return true;" onclick="this.href='https://www.google.com/url?q\75https%3A%2F%2Flists.rabbitmq.com%2Fcgi-bin%2Fmailman%2Flistinfo%2Frabbitmq-discuss\46sa\75D\46sntz\0751\46usg\75AFQjCNEa7MyKsA1XPSVZIhQM5kBuKmKiKg';return true;">https://lists.rabbitmq.com/<wbr>cgi-bin/mailman/listinfo/<wbr>rabbitmq-discuss</a><br></p><p></p><p></p></blockquote></div>