[rabbitmq-discuss] Java client deadlock closing channel/connection

dharshanr dharshanr at scalegrid.net
Wed Aug 22 19:36:07 BST 2012


Hi folks,

My java client is hitting a deadlock closing a channel or a connection. I 
have also noticed that it hangs when deleting a queue as well. I have 
noticed this error when the server has a large number of connections. When 
I reboot the error goes away for some time and then appears again. In the 
rabbitmq management webpage I see a memory warning

Memory usage is 2.3GB where the high watermark is 1.5 GB.
"The memory alarm for this node has gone off. It will block incoming 
network traffic until the memory usage drops below the watermark. ". 

Why is the memory usage above the watermark? From what I have read RabbitMQ 
moves the messages to disk and scales that way without using more memory.

regards,
Dharshan
www.scalegrid.net
(Services for the private cloud)


Here is the status of my server

Status of node rabbit at drrabbitmq1 ...
[{pid,1169},
 {running_applications,
     [{rabbitmq_management,"RabbitMQ Management Console","2.8.4"},
      {xmerl,"XML parser","1.2.10"},
      {rabbitmq_management_agent,"RabbitMQ Management Agent","2.8.4"},
      {amqp_client,"RabbitMQ AMQP Client","2.8.4"},
      {rabbit,"RabbitMQ","2.8.4"},
      {ssl,"Erlang/OTP SSL application","4.1.6"},
      {public_key,"Public key infrastructure","0.13"},
      {crypto,"CRYPTO version 2","2.0.4"},
      {os_mon,"CPO  CXC 138 46","2.2.7"},
      {sasl,"SASL  CXC 138 11","2.1.10"},
      {rabbitmq_mochiweb,"RabbitMQ Mochiweb Embedding","2.8.4"},
      {webmachine,"webmachine","1.7.0-rmq2.8.4-hg"},
      {mochiweb,"MochiMedia Web Server","1.3-rmq2.8.4-git"},
      {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:2:2] [rq:2] 
[async-threads:30] [kernel-poll:true]\n"},
 {memory,
     [{total,2379504536},
      {processes,1926964632},
      {processes_used,1924985912},
      {system,452539904},
      {atom,1722081},
      {atom_used,1690549},
      {binary,194345200},
      {code,18717132},
      {ets,176530144}]},
 {vm_memory_high_watermark,0.3999999998070925},
 {vm_memory_limit,1658825932},
 {disk_free_limit,1000000000},
 {disk_free,2966052864},
 {file_descriptors,
     [{total_limit,65436},
      {total_used,18006},
      {sockets_limit,58890},
      {sockets_used,8000}]},
 {processes,[{limit,1048576},{used,98174}]},
 {run_queue,0},
 {uptime,61715}]
...done.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20120822/1dcab318/attachment.htm>


More information about the rabbitmq-discuss mailing list