CMS Library Hangs On Message Send

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

CMS Library Hangs On Message Send

urciolo
Hello, we are using the latest CMS library to talk to ActiveMQ 5.5.0-fuse-00-43.  Some times the CMS clients hang on a message send.  The stack trace is attached from a process stuck on a Solaris 8 box.  Do you have any ideas as to why this is happening?

MRT_output
Reply | Threaded
Open this post in threaded view
|

Re: CMS Library Hangs On Message Send

tabish121@gmail.com
On Wed, 2011-08-24 at 07:55 -0700, urciolo wrote:
> Hello, we are using the latest CMS library to talk to ActiveMQ
> 5.5.0-fuse-00-43.  Some times the CMS clients hang on a message send.  The
> stack trace is attached from a process stuck on a Solaris 8 box.  Do you
> have any ideas as to why this is happening?
>

Do you have producer flow control enabled on the broker, that can cause
a producer to block if there's no more space for messages in that
destination.

Regards
Tim.

> http://activemq.2283324.n4.nabble.com/file/n3765597/MRT_output MRT_output
>
> --
> View this message in context: http://activemq.2283324.n4.nabble.com/CMS-Library-Hangs-On-Message-Send-tp3765597p3765597.html
> Sent from the ActiveMQ - User mailing list archive at Nabble.com.

--
Tim Bish
------------
FuseSource
Email: [hidden email]
Web: http://fusesource.com
Twitter: tabish121
Blog: http://timbish.blogspot.com/



Reply | Threaded
Open this post in threaded view
|

RE: EXT :Re: CMS Library Hangs On Message Send

urciolo

We do have producer flow control enabled.  However, we were not at that limit.  Attached is another stack trace from a linux client.  This is on a different box, but attached to the same broker as the first stack trace I sent (cleaner stack trace).  The snip below shows onException.  Did something happen that caused a deadlock during a transport failure?

 

#15 0x404c387f in activemq::transport::failover::CloseTransportsTask::add ()

#16 0x404d00c5 in activemq::transport::failover::FailoverTransport::handleTransportFailure () from /usr/local/lib/libactivemq-cpp.so.14

#17 0x404e18cf in activemq::transport::failover::FailoverTransportListener::onException () from /usr/local/lib/libactivemq-cpp.so.14

#18 0x404a0b51 in activemq::transport::TransportFilter::fire ()

#19 0x404a0b94 in activemq::transport::TransportFilter::onException ()

#20 0x404a0b51 in activemq::transport::TransportFilter::fire ()

#21 0x404a0b94 in activemq::transport::TransportFilter::onException ()

#22 0x404e2b9e in activemq::transport::inactivity::InactivityMonitor::onException () from /usr/local/lib/libactivemq-cpp.so.14

#23 0x404a0b51 in activemq::transport::TransportFilter::fire ()

#24 0x404a0b94 in activemq::transport::TransportFilter::onException ()

#25 0x4049e38f in activemq::transport::IOTransport::fire ()

#26 0x4049ec9b in activemq::transport::IOTransport::run ()

 

 

From: [hidden email] [via ActiveMQ] [mailto:ml-node+[hidden email]]
Sent: Wednesday, August 24, 2011 11:41 AM
To: Urciolo, Kevin J (IS)
Subject: EXT :Re: CMS Library Hangs On Message Send

 

On Wed, 2011-08-24 at 07:55 -0700, urciolo wrote:
> Hello, we are using the latest CMS library to talk to ActiveMQ
> 5.5.0-fuse-00-43.  Some times the CMS clients hang on a message send.  The
> stack trace is attached from a process stuck on a Solaris 8 box.  Do you
> have any ideas as to why this is happening?
>

Do you have producer flow control enabled on the broker, that can cause
a producer to block if there's no more space for messages in that
destination.

Regards
Tim.

> http://activemq.2283324.n4.nabble.com/file/n3765597/MRT_output MRT_output
>
> --
> View this message in context: http://activemq.2283324.n4.nabble.com/CMS-Library-Hangs-On-Message-Send-tp3765597p3765597.html
> Sent from the ActiveMQ - User mailing list archive at Nabble.com.

--
Tim Bish
------------
FuseSource
Email: [hidden email]
Web: http://fusesource.com
Twitter: tabish121
Blog: http://timbish.blogspot.com/





If you reply to this email, your message will be added to the discussion below:

http://activemq.2283324.n4.nabble.com/CMS-Library-Hangs-On-Message-Send-tp3765597p3765782.html

To unsubscribe from CMS Library Hangs On Message Send, click here.


output.txt (17K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

RE: EXT :Re: CMS Library Hangs On Message Send

tabish121@gmail.com
On Wed, 2011-08-24 at 08:51 -0700, urciolo wrote:

> We do have producer flow control enabled.  However, we were not at that limit.  Attached is another stack trace from a linux client.  This is on a different box, but attached to the same broker as the first stack trace I sent (cleaner stack trace).  The snip below shows onException.  Did something happen that caused a deadlock during a transport failure?
>
> #15 0x404c387f in activemq::transport::failover::CloseTransportsTask::add ()
> #16 0x404d00c5 in activemq::transport::failover::FailoverTransport::handleTransportFailure () from /usr/local/lib/libactivemq-cpp.so.14
> #17 0x404e18cf in activemq::transport::failover::FailoverTransportListener::onException () from /usr/local/lib/libactivemq-cpp.so.14
> #18 0x404a0b51 in activemq::transport::TransportFilter::fire ()
> #19 0x404a0b94 in activemq::transport::TransportFilter::onException ()
> #20 0x404a0b51 in activemq::transport::TransportFilter::fire ()
> #21 0x404a0b94 in activemq::transport::TransportFilter::onException ()
> #22 0x404e2b9e in activemq::transport::inactivity::InactivityMonitor::onException () from /usr/local/lib/libactivemq-cpp.so.14
> #23 0x404a0b51 in activemq::transport::TransportFilter::fire ()
> #24 0x404a0b94 in activemq::transport::TransportFilter::onException ()
> #25 0x4049e38f in activemq::transport::IOTransport::fire ()
> #26 0x4049ec9b in activemq::transport::IOTransport::run ()
>

I beleive this is the same issue as reported here:
https://issues.apache.org/jira/browse/AMQCPP-376

Regards


--
Tim Bish
------------
FuseSource
Email: [hidden email]
Web: http://fusesource.com
Twitter: tabish121
Blog: http://timbish.blogspot.com/