apache / apache/activemq

Upgrade default configuration in ActiveMQ binary distribution

Open
#1,698 2 comments 0 reactions 1 assignee Claimed by @jbonofre View on GitHub
Dominant language
Java
Stars
2.5k
Forks
1.5k
Avg merge
10h 46m
Merged PRs (30d)
79

Description

The default ActiveMQ configuration is pretty "low" in the binary distribution:
* in `bin/setenv`:
* the default `ACTIVEMQ_OPTS_MEMORY` should be updated to a more modern configuration, for instance using `-XX:AutoBoxCacheMax=20000 -XX:+PrintClassHistogram -XX:+UseG1GC -XX:+UseStringDeduplication -Xms512M -Xmx2G`
* the `conf/activemq.xml` should be updated by default:
* should we keep the `contantPendingMessageLimitStrategy` in destination policies by default ?
* should we add `prefetch` configuration in destination policies (for visibility) ?
* should we add `kahaDB` tuning by default (`checkForCorruptJournalFiles`, `indexCacheSize`, `indexWriteBatchSize`, `journalMaxFileLength`, `maxAsyncJobs`, ...). The purpose is not to change the default values in the code, it's really to "expose" this configuration in the default `activemq.xml` to our users.
* change the default `systemUsage` ?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.