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 - '** gen_event handler rabbit_sasl_report_file_h crashed.
'<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 <0.141.0> terminating
<br>** Last message in was {inet_async,#Port<0.1999>,16213,{ok,#Port<0.5041>}}
<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 <0.4894.0> 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 <0.4895.0> 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,<0.102.0>,
<br> {<0.141.0>,crash_report,
<br> [[{initial_call,{tcp_acceptor,init,['Argument__1']}},
<br> {pid,<0.141.0>},
<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> ['tcp_acceptor_sup_0.0.0.0:5672',<0.138.0>,
<br> rabbit_sup,<0.103.0>]},
<br> {messages,[]},
<br> {links,[<0.139.0>]},
<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 == {<0.49.0>,"/var/log/rabbitmq/rabbit-sasl.log",error}
<br>** Reason == {'module could not be loaded',
<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<proc_lib.0.17830618>,#Fun<proc_lib.1.112399459>]},
<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 <0.736.0> from <a href="http://192.168.160.203:62435">192.168.160.203:62435</a>
<br>connection_closed_abruptly<br>