[rabbitmq-discuss] rabbitmq dying

David.Corcoran at edftrading.com David.Corcoran at edftrading.com
Thu Jun 19 09:12:39 BST 2008



rabbitmq-discuss-bounces at lists.rabbitmq.com wrote on 19/06/2008 00:04:27:

> In rabbit_amqqueue there are the functions stat/1 and stat_all/0 which
> will tell you how many messages are in the queue.
>

Hey Ben,

That looks perfect. Unfortunately I'm not sure how to connect to Rabbit to
run those commands. I had a look at the mailing lists and found some
commands that aren't working for me. Perhaps you can help?

dave at vsdlbblue01:~$ erl -sname temp -remsh rabbit at localhost
Erlang (BEAM) emulator version 5.5.2 [source] [async-threads:0] [hipe]
[kernel-poll:false]

{error_logger,{{2008,6,19},{8,49,47}},"~s~n",["Error in process <0.29.0> on
node 'temp at vsdlbblue01' with exit value:
{badarg,[{erlang,list_to_existing_atom,[\"rabbit at vsdlbblue01\"]},{dist_util,recv_challenge,1},{dist_util,handshake_we_started,1}]}\n"]}
*** ERROR: Shell process terminated! (^G to start new job) ***

=ERROR REPORT==== 19-Jun-2008::08:49:47 ===
Error in process <0.29.0> on node 'temp at vsdlbblue01' with exit value:
{badarg,[{erlang,list_to_existing_atom,["rabbit at vsdlbblue01"]},{dist_util,recv_challenge,1},{dist_util,handshake_we_started,1}]}
BREAK: (a)bort (c)ontinue (p)roc info (i)nfo (l)oaded
       (v)ersion (k)ill (D)b-tables (d)istribution


And:
dave at vsdlbblue01:~$ erl -sname temp -remsh rabbit at vsdlbblue01
Erlang (BEAM) emulator version 5.5.2 [source] [async-threads:0] [hipe]
[kernel-poll:false]
*** ERROR: Shell process terminated! (^G to start new job) ***
BREAK: (a)bort (c)ontinue (p)roc info (i)nfo (l)oaded
       (v)ersion (k)ill (D)b-tables (d)istribution


RabbitMQ is running on the machine (rhel5 i686) with the following args:
/usr/lib/erlang/erts-5.5.2/bin/beam -W w -K true -A30 -- -root
/usr/lib/erlang -progname erl -- -home /var/lib/rabbitmq -pa
/usr/sbin/../ebin -noshell -noinput -s rabbit -sname rabbit -boot
start_sasl -kernel inet_default_listen_options
[{sndbuf,16384},{recbuf,4096}] -rabbit tcp_listeners [{"0.0.0.0", 5672}]
-sasl errlog_type error -kernel error_logger
{file,"/var/log/rabbitmq/rabbit.log"} -sasl sasl_error_logger
{file,"/var/log/rabbitmq/rabbit-sasl.log"} -os_mon start_cpu_sup true
-os_mon start_disksup false -os_mon start_memsup false -os_mon start_os_sup
false -mnesia dir "/var/lib/rabbitmq/mnesia/rabbit" -noshell -noinput


*********************************************************************
This communication contains confidential information, some or all of which may be privileged. It is for the intended recipient only and others must not disclose, distribute, copy, print or rely on this communication. If an addressing or transmission error has misdirected this communication, please notify the sender by replying to this e-mail and then delete the e-mail. E-mail sent to EDF Trading may be monitored by the company. Thank you. 
EDF Trading Limited
80 Victoria Street, 3rd Floor, Cardinal Place, London, SW1E 5JL
A Company registered in England No. 4255974. 
Switchboard: 020 7061 4000
EDF Trading Markets Limited is a member of the EDF Trading Limited Group and is authorised and regulated by the Financial Services Authority.
VAT number: GB 735 5479 07
*********************************************************************




More information about the rabbitmq-discuss mailing list