[rabbitmq-discuss] Intermittent Problem - 2.8.5 java client hangs on declare exchange

Steve Powell steve at rabbitmq.com
Fri Aug 24 15:10:48 BST 2012


Hi Matthew,

It is hard to debug this without some Java information. Can you take a
jstack dump of the JVM BEFORE you kill it and AFTER it hangs? This will
give us some idea of what threads are waiting for what.

It is hard to see how this could happen if the connection has been
closed by the server, though it is not clear if the ERROR REPORT you
give is dated/timed after the Java Client has hung for a bit, or happens
before and CAUSES the hang. Can you determine which from the time of the
log entry?

We will endeavour to help.
All (aka Steve Powell---a happy bunny)
----------yet more definitions from the SPD----------
corrugate (n.) T.V. soap scandal.
olympic (n.) A camp road-digger.
jamboree (n.) A conserve made from French cheese.

On 24 Aug 2012, at 14:20, m.luchak at smartasking.com wrote:

> Hi All,
>  
> We have a very annoying intermittent bug where our java client hangs when declaring an exchange.  We couldn't find a timeout or wait in the channel class... Is there a way to set/get a session timeout?
>  
> - No firewalls or load balancers
> - Very low CPU and memory usage
> 
>  
> =ERROR REPORT==== 24-Aug-2012::12:40:17 ===
> closing AMQP connection <0.22988.7> (XXXXXXXX:28335 -> XXXXXX:5672):
> {inet_error,etimedout}
>  
>  
> RabbitMQ Status:
>  
> [{pid,9764},
> {running_applications,
> [{rabbitmq_management,"RabbitMQ Management Console","2.8.5"},
> {rabbitmq_management_agent,"RabbitMQ Management Agent","2.8.5"},
> {rabbitmq_stomp,"Embedded Rabbit Stomp Adapter","2.8.5"},
> {rabbit,"RabbitMQ","2.8.5"},
> {mnesia,"MNESIA  CXC 138 12","4.4.17"},
> {os_mon,"CPO  CXC 138 46","2.2.5"},
> {rabbitmq_mochiweb,"RabbitMQ Mochiweb Embedding","2.8.5"},
> {webmachine,"webmachine","1.9.1-rmq2.8.5-git52e62bc"},
> {mochiweb,"MochiMedia Web Server","2.3.1-rmq2.8.5-gitd541e9a"},
> {inets,"INETS  CXC 138 49","5.5.2"},
> {xmerl,"XML parser","1.2.8"},
> {sasl,"SASL  CXC 138 11","2.1.9.3"},
> {amqp_client,"RabbitMQ AMQP Client","2.8.5"},
> {stdlib,"ERTS  CXC 138 10","1.17.3"},
> {kernel,"ERTS  CXC 138 10","2.14.3"}]},
> {os,{unix,linux}},
> {erlang_version,
> "Erlang R14B02 (erts-5.8.3) [source] [64-bit] [rq:1] [async-threads:30] [kernel-poll:true]\n"},
> {memory,
> [{total,41330968},
> {processes,17077520},
> {processes_used,16335960},
> {system,24253448},
> {atom,1537521},
> {atom_used,1523741},
> {binary,120088},
> {code,17080343},
> {ets,4172512}]},
> {vm_memory_high_watermark,0.39999999935564245},
> {vm_memory_limit,248309350},
> {disk_free_limit,1000000000},
> {disk_free,5325369344},
> {file_descriptors,
> [{total_limit,924},
> {total_used,35},
> {sockets_limit,829},
> {sockets_used,15}]},
> {processes,[{limit,1048576},{used,335}]},
> {run_queue,0},
> {uptime,1815593}]
> 
>  
> thanks,
>  
> Matthew
>  
>  
> 
>  
> 
> 
> _______________________________________________
> rabbitmq-discuss mailing list
> rabbitmq-discuss at lists.rabbitmq.com
> https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss

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


More information about the rabbitmq-discuss mailing list