Hi,<br><br>I have been testing rabbitmq for a potential use at work. I am firing about 500 messages/sec (estimate) from 60 or so processes. <br>All starts well (I can see all the messages being pumped out, all going quickly) and after a few minutes rabbitmq halts with the error below - &#39;** gen_event handler rabbit_sasl_report_file_h crashed.

&#39;<br>(same error keeps occuring). <br><br>Infrastructure wise I have a simple queue setup with one consumer (erlang client)  with the producer a java client; sending very short messages<br>The box is running a single rabbitmq server process and is a quad core, 2 gig box<br>
<br>Things I have tried so far:<br>Increase the ulimit to 100,000+<br>Increase the number of consumers to 3 to try and take any load off the rabbitmq server<br>Use ERL_MAX_PORTS 10240 / ERL_MAX_ETS_TABLES 10240<br><br>Any help would be great,<br>
<br>thanks<br><br>Patrick<br><br>=ERROR REPORT==== 5-Aug-2009::01:00:42 ===
<br>** Generic server &lt;0.141.0&gt; terminating
<br>** Last message in was {inet_async,#Port&lt;0.1999&gt;,16213,{ok,#Port&lt;0.5041&gt;}}
<br>** When Server state == none
<br>** Reason for termination ==
<br>** {cannot_accept,{error,emfile}}
<br> <br>=INFO REPORT==== 5-Aug-2009::01:00:42 ===
<br>starting TCP connection &lt;0.4894.0&gt; from <a href="http://192.168.36.72:33078">192.168.36.72:33078</a>
<br> <br>=INFO REPORT==== 5-Aug-2009::01:00:42 ===
<br>starting TCP connection &lt;0.4895.0&gt; from <a href="http://192.168.36.72:33079">192.168.36.72:33079</a>
<br> <br>=ERROR REPORT==== 5-Aug-2009::01:00:42 ===
<br>File operation error: emfile. Target: ./lib.beam. Function: get_file. Process: code_server.
<br> <br>=ERROR REPORT==== 5-Aug-2009::01:00:42 ===
<br>File operation error: emfile. Target: /usr/lib/erlang/lib/kernel-2.13.2/ebin/lib.beam. Function: get_file. Process: code_server.
<br> <br>=ERROR REPORT==== 5-Aug-2009::01:00:42 ===
<br>File operation error: emfile. Target: /usr/lib/erlang/lib/stdlib-1.16.2/ebin/lib.beam. Function: get_file. Process: code_server.
<br><br>.... (every lib directory in my install)<br> <br>=ERROR REPORT==== 5-Aug-2009::01:00:42 ===
<br>File operation error: emfile. Target: /usr/lib/erlang/lib/appmon-2.1.10.1/ebin/lib.beam. Function: get_file. Process: code_server.
<br> <br>=ERROR REPORT==== 5-Aug-2009::01:00:42 ===
<br>File operation error: emfile. Target: lib.beam. Function: get_file. Process: code_server.
<br> <br>=ERROR REPORT==== 5-Aug-2009::01:00:42 ===
<br>** gen_event handler rabbit_sasl_report_file_h crashed.
<br>** Was installed in error_logger
<br>** Last event was: {error_report,&lt;0.102.0&gt;,
<br>                       {&lt;0.141.0&gt;,crash_report,
<br>                        [[{initial_call,{tcp_acceptor,init,[&#39;Argument__1&#39;]}},
<br>                          {pid,&lt;0.141.0&gt;},
<br>                          {registered_name,[]},
<br>                          {error_info,
<br>                              {exit,
<br>                                  {cannot_accept,{error,emfile}},
<br>                                  [{gen_server,terminate,6},
<br>                                   {proc_lib,init_p_do_apply,3}]}},
<br>                          {ancestors,
<br>                              [&#39;tcp_acceptor_sup_0.0.0.0:5672&#39;,&lt;0.138.0&gt;,
<br>                               rabbit_sup,&lt;0.103.0&gt;]},
<br>                          {messages,[]},
<br>                          {links,[&lt;0.139.0&gt;]},
<br>                          {dictionary,[]},
<br>                          {trap_exit,false},
<br>                          {status,running},
<br>                          {heap_size,987},
<br>                          {stack_size,24},
<br>                          {reductions,147211}],
<br>                         []]}}
<br>** When handler state == {&lt;0.49.0&gt;,&quot;/var/log/rabbitmq/rabbit-sasl.log&quot;,error}
<br>** Reason == {&#39;module could not be loaded&#39;,
<br>                 [{lib,format_exception,
<br>                      [5,exit,
<br>                       {cannot_accept,{error,emfile}},
<br>                       [{gen_server,terminate,6},{proc_lib,init_p_do_apply,3}],
<br>                       #Fun&lt;proc_lib.0.17830618&gt;,#Fun&lt;proc_lib.1.112399459&gt;]},
<br>                  {proc_lib,format_exception,3},
<br>                  {proc_lib,format_rep,1},
<br>                  {proc_lib,format_rep,1},
<br>                  {proc_lib,format_rep,1},
<br>                  {proc_lib,format,1},
<br>                  {sasl_report,write_report2,4},
<br>                  {sasl_report_file_h,handle_event,2}]}
<br> <br>=WARNING REPORT==== 5-Aug-2009::01:03:19 ===
<br>exception on TCP connection &lt;0.736.0&gt; from <a href="http://192.168.160.203:62435">192.168.160.203:62435</a>
<br>connection_closed_abruptly<br>