Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pending sub-job messages in ActiveMQ queues are not processed until a new job is created #745

Closed
jrobble opened this issue Nov 29, 2018 · 1 comment

Comments

@jrobble
Copy link
Member

jrobble commented Nov 29, 2018

This bug has been observed in environments where a very high number of jobs are processed. It does not happen consistently.

This bug may be related to this issue, this comment or this issue. Setting the cache level to CACHE_NONE and/or disabling producerFlowControl may help.

This bug seems related to https://dzone.com/articles/starving-jms-consumers-in-activemq.

@jrobble
Copy link
Member Author

jrobble commented Apr 23, 2019

From the user:

  • Set producerFlowControl=false (/opt/apache-activemq-5.13.0/conf/activemq.xml)
  • Imposed memory limits for request queues (/opt/apache-activemq-5.13.0/conf/activemq.xml)
  • Set prefetch for request queues to 0 (/opt/mpf/data/nodeManagerConfig.xml)
  • Increased maximum connections to 5000 (/opt/apache-activemq-5.13.0/conf/activemq.xml)
  • Increased the max concurrent consumers for MPF.COMPLETED_DETECTIONS to 60 (/opt/apache-tomcat/webapps/workflow-manager/WEB-INF/classes/applicationContext-jms.xml)
  • Increased ActiveMQ’s memory usage (/opt/apache-activemq-5.13.0/bin/linux-x86-64/wrapper.conf and /opt/apache-activemq-5.13.0/conf/activemq.xml)
  • Turned on persistence (/opt/apache-activemq-5.13.0/conf/activemq.xml)

These are captured in:

@jrobble jrobble moved this from To do to Planned in OpenMPF: Development Apr 29, 2019
@jrobble jrobble modified the milestones: Release 5.0.0, Release 4.1.0 Apr 29, 2019
@clnowacki clnowacki moved this from Planned to Testing in OpenMPF: Development Jun 26, 2019
@jrobble jrobble closed this as completed Sep 30, 2019
OpenMPF: Development automation moved this from Testing to Closed Sep 30, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Development

No branches or pull requests

2 participants