[rabbitmq-discuss] rabbitmqctl list_connections hanging

Doug Barth dougbarth at gmail.com
Mon Oct 8 22:00:12 BST 2012


Hi,

Our RabbitMQ server suddenly started hanging when running "rabbitmqctl 
list_connections". All other commands seem to work just fine, and viewing 
the connection the HTTP interface works. It's just the command line that is 
hanging.

Here's all I see:

# /usr/sbin/rabbitmqctl list_connections
Listing connections ...

Is there something I can do to help troubleshoot this? Here's the output 
from "rabbitmqctl report" before it hangs on trying to pull connections.

# /usr/sbin/rabbitmqctl report
Reporting server status on {{2012,10,8},{20,54,53}}

Status of node rabbit at db1 ...
[{pid,32745},
 {running_applications,
     [{rabbitmq_management,"RabbitMQ Management Console","2.8.5"},
      {xmerl,"XML parser","1.2.10"},
      {rabbitmq_management_agent,"RabbitMQ Management Agent","2.8.5"},
      {amqp_client,"RabbitMQ AMQP Client","2.8.5"},
      {rabbit,"RabbitMQ","2.8.5"},
      {os_mon,"CPO  CXC 138 46","2.2.7"},
      {sasl,"SASL  CXC 138 11","2.1.10"},
      {rabbitmq_mochiweb,"RabbitMQ Mochiweb Embedding","2.8.5"},
      {webmachine,"webmachine","1.9.1-rmq2.8.5-git52e62bc"},
      {mochiweb,"MochiMedia Web Server","1.4.1"},
      {crypto,"CRYPTO version 2","2.0.4"},
      {inets,"INETS  CXC 138 49","5.7.1"},
      {mnesia,"MNESIA  CXC 138 12","4.5"},
      {stdlib,"ERTS  CXC 138 10","1.17.5"},
      {kernel,"ERTS  CXC 138 10","2.14.5"}]},
 {os,{unix,linux}},
 {erlang_version,
     "Erlang R14B04 (erts-5.8.5) [source] [64-bit] [smp:8:8] [rq:8] 
[async-threads:30] [kernel-poll:true]\n"},
 {memory,
     [{total,504912632},
      {processes,421348016},
      {processes_used,419304016},
      {system,83564616},
      {atom,4044769},
      {atom_used,4023674},
      {binary,34192176},
      {code,18261044},
      {ets,21905592}]},
 {vm_memory_high_watermark,0.25},
 {vm_memory_limit,4223227904},
 {disk_free_limit,1000000000},
 {disk_free,330037432320},
 {file_descriptors,
     [{total_limit,3996},
      {total_used,290},
      {sockets_limit,3594},
      {sockets_used,225}]},
 {processes,[{limit,1048576},{used,5329}]},
 {run_queue,0},
 {uptime,5162544}]

Cluster status of node rabbit at db1 ...
[{nodes,[{disc,[rabbit at db1]}]},{running_nodes,[rabbit at db1]}]

Application environment of node rabbit at db1 ...
[{auth_backends,[rabbit_auth_backend_internal]},
 {auth_mechanisms,['PLAIN','AMQPLAIN']},
 {backing_queue_module,rabbit_variable_queue},
 {cluster_nodes,[]},
 {collect_statistics,fine},
 {collect_statistics_interval,5000},
 {default_permissions,[<<".*">>,<<".*">>,<<".*">>]},
 {default_user,<<"guest">>},
 {default_user_tags,[administrator]},
 {default_vhost,<<"/">>},
 {delegate_count,16},
 {disk_free_limit,1000000000},
 {error_logger,{file,"/var/log/rabbitmq/rabbit at db1.log"}},
 {frame_max,131072},
 {hipe_compile,false},
 {included_applications,[]},
 {log_levels,[{connection,info}]},
 {msg_store_file_size_limit,16777216},
 {msg_store_index_module,rabbit_msg_store_ets_index},
 {queue_index_max_journal_entries,262144},
 {sasl_error_logger,{file,"/var/log/rabbitmq/rabbit at db1-sasl.log"}},
 {server_properties,[]},
 {ssl_cert_login_from,distinguished_name},
 {ssl_listeners,[]},
 {ssl_options,[]},
 {tcp_listen_options,[binary,
                      {packet,raw},
                      {reuseaddr,true},
                      {backlog,128},
                      {nodelay,true},
                      {linger,{true,0}},
                      {exit_on_close,false}]},
 {tcp_listeners,[5672]},
 {trace_vhosts,[]},
 {vm_memory_high_watermark,0.25}]

Connections:

Session terminated, killing shell... ...killed.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20121008/ae12b96b/attachment.htm>


More information about the rabbitmq-discuss mailing list