RabbitMQ delay my message randomly -


here rabbitmqctl status

[{pid,32074},  {running_applications,      [{rabbitmq_management,"rabbitmq management console","3.2.2"},       {rabbitmq_management_agent,"rabbitmq management agent","3.2.2"},       {rabbit,"rabbitmq","3.2.2"},       {os_mon,"cpo  cxc 138 46","2.2.7"},       {rabbitmq_web_dispatch,"rabbitmq web dispatcher","3.2.2"},       {webmachine,"webmachine","1.10.3-rmq3.2.2-gite9359c7"},       {mochiweb,"mochimedia web server","2.7.0-rmq3.2.2-git680dba8"},       {xmerl,"xml parser","1.2.10"},       {inets,"inets  cxc 138 49","5.7.1"},       {mnesia,"mnesia  cxc 138 12","4.5"},       {amqp_client,"rabbitmq amqp client","3.2.2"},       {sasl,"sasl  cxc 138 11","2.1.10"},       {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:32:32] [rq:32] [async-threads:30] [kernel-poll:true]\n"},  {memory,      [{total,1954308048},       {connection_procs,619048024},       {queue_procs,166111144},       {plugins,4423520},       {other_proc,46207032},       {mnesia,44407568},       {mgmt_db,331614464},       {msg_index,6694584},       {other_ets,30005328},       {binary,63825504},       {code,17629100},       {atom,6531121},       {other_system,617810659}]},  {vm_memory_high_watermark,0.4},  {vm_memory_limit,53967541043},  {disk_free_limit,50000000},  {disk_free,51883839488},  {file_descriptors,      [{total_limit,655260},       {total_used,12659},       {sockets_limit,589732},       {sockets_used,12657}]},  {processes,[{limit,1048576},{used,125740}]},  {run_queue,1},  {uptime,33320350}] 

my queue empty @ of time. there 84440 exchanges , 8917 queues in rabbitmq.

my problem message may delay long time since send it.

i tried info spot.here's monitor chart's when delay happen. can see overview , exchange fine.but message in queue delay in deliver , acknowledge.

but app log.

2017-08-10 17:23:08.738 4219 info trove.openstack.common.rpc.amqp [-] [proxycallback]received message timestamp:2017-08-10t17:23:08, duration:0.737949s, unique_id:a17186068cae447bbada7a0f24ff45ef 

the 17:23 message received without delay.and had sent ack mq:

2017-08-10 17:23:08.739 4219 debug trove.openstack.common.rpc.common [-] consume massage ack true 

while 17:43 message delayed 215.895117s, confused me.

2017-08-10 17:43:53.895 4219 info trove.openstack.common.rpc.amqp [-] [proxycallback]received message timestamp:2017-08-10t17:40:18, duration:215.895117s, unique_id:dc04b94c8fa64978bc9d681b020f4500 

the problem seems strange,if poster solve it,post here.


Comments

Popular posts from this blog

android - InAppBilling registering BroadcastReceiver in AndroidManifest -

python Tkinter Capturing keyboard events save as one single string -

sql server - Why does Linq-to-SQL add unnecessary COUNT()? -