-
1. Re: bridge configuration causing out of memory
xpromache Jul 27, 2016 7:41 AM (in response to xpromache)Poking more through the heap dump and through the HornetQ code, I see that the thing that accumulates is the runnable tasks that are added to the flushExecutor while it is stuck in a conn.flush() call.
Then looking further I see that RemotingConnectionImpl.flush is waiting for transferLock which is acquired by another thread in doBufferReceived and this one is blocked in PagingStoreImpl and then it becomes not very easy to track...
I uploaded here the thread dump:
-
2. Re: bridge configuration causing out of memory
jbertram Jul 27, 2016 10:44 AM (in response to xpromache)At this point I'd recommend you try to reproduce this on the latest release of Apache ActiveMQ Artemis. HornetQ hasn't been actively developed in over a year now since the donation of the code-base to the Apache ActiveMQ project (where it became Artemis).
-
3. Re: bridge configuration causing out of memory
xpromache Jul 27, 2016 11:42 AM (in response to jbertram)That's certainly what I was going to do but I was looking for confirmation that there is a chance that this kind of problems (robustness against network problems) have been solved in the Artemis version.
-
4. Re: bridge configuration causing out of memory
jbertram Jul 27, 2016 11:50 AM (in response to xpromache)Since the donation there have been over 2,200 commits to the code-base and over 430 JIRAs resolved so I definitely think there's a chance this issue has been resolved. Furthermore, if it hasn't been resolved then it's likely to be fixed relatively quickly vs. extremely unlikely to be fixed in HornetQ.
-
5. Re: bridge configuration causing out of memory
xpromache Jul 27, 2016 12:27 PM (in response to jbertram)Indeed. One question though: will an Artemis server communicate with an HornetQ one?
I'm using only the core things, no JMS.
-
6. Re: bridge configuration causing out of memory
jbertram Jul 27, 2016 12:37 PM (in response to xpromache)Artemis supports HornetQ clients so I would expect a HornetQ server would be able to bridge to an Artemis server. I'm not sure if an Artemis server could bridge to a HornetQ server, though.