You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@uima.apache.org by "Jerry Cwiklik (JIRA)" <de...@uima.apache.org> on 2013/06/03 22:50:19 UTC
[jira] [Closed] (UIMA-2776) UIMA-AS not managing broker sessions
[ https://issues.apache.org/jira/browse/UIMA-2776?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jerry Cwiklik closed UIMA-2776.
-------------------------------
Resolution: Fixed
Added a timer thread to periodically check state of each jms session and close inactive ones. This deals with a bug in AMQ which causes broker OOM. The broker holds on to messages even though a destination no longer exists as long as there are producer sessions open. The fix is to close the sessions after some (configurable) amount of inactivity.
> UIMA-AS not managing broker sessions
> -------------------------------------
>
> Key: UIMA-2776
> URL: https://issues.apache.org/jira/browse/UIMA-2776
> Project: UIMA
> Issue Type: Bug
> Components: Async Scaleout
> Affects Versions: 2.4.0AS
> Reporter: Jerry Cwiklik
> Assignee: Jerry Cwiklik
> Fix For: 2.4.1AS
>
>
> UIMA-AS service doesn't manage broker sessions which leads to broker OOM in some use cases. Current code keeps sessions open even if clients terminate. If a client terminates before the broker delivers outstanding messages to it, such messages are never purged from brokers memory. This is because the service has a jms session open. Broker only cleans such messages if either a session is closed or a connection is closed.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira