[
https://issues.apache.org/jira/browse/ARTEMIS-4702?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Robbie Gemmell updated ARTEMIS-4702:
------------------------------------
Description:
Right now every {{artemis}} command uses the same JVM settings from
{{{}artemis.profile{}}}. So, for example, if the settings included {{-Xms8G
-Xmx8G}} for running the broker (i.e. the {{run}} command) those same settings
would be used for the {{{}queue stat{}}}, {{{}consumer{}}}, {{{}producer{}}},
etc. commands as well. At best, it's overkill to use 8G of memory for these
secondary commands and at worst it can actually prevent them from operating at
all (e.g. if the machine is low on memory).
Add a utility profile for the commands other than 'run' to use for their own
settings (and logging config, see ARTEMIS-4785)
was:
Right now every {{artemis}} command uses the same JVM settings from
{{artemis.profile}}. So, for example, if the settings included {{-Xms8G
-Xmx8G}} for running the broker (i.e. the {{run}} command) those same settings
would be used for the {{queue stat}}, {{consumer}}, {{producer}}, etc. commands
as well. At best, it's overkill to use 8G of memory for these secondary
commands and at worst it can actually prevent them from operating at all (e.g.
if the machine is low on memory).
JVM settings really only need to apply to the {{run}} command.
> Add utility profile for CLI commands other than run
> ---------------------------------------------------
>
> Key: ARTEMIS-4702
> URL: https://issues.apache.org/jira/browse/ARTEMIS-4702
> Project: ActiveMQ Artemis
> Issue Type: Improvement
> Reporter: Justin Bertram
> Assignee: Domenico Francesco Bruscino
> Priority: Major
> Fix For: 2.37.0
>
> Time Spent: 50m
> Remaining Estimate: 0h
>
> Right now every {{artemis}} command uses the same JVM settings from
> {{{}artemis.profile{}}}. So, for example, if the settings included {{-Xms8G
> -Xmx8G}} for running the broker (i.e. the {{run}} command) those same
> settings would be used for the {{{}queue stat{}}}, {{{}consumer{}}},
> {{{}producer{}}}, etc. commands as well. At best, it's overkill to use 8G of
> memory for these secondary commands and at worst it can actually prevent them
> from operating at all (e.g. if the machine is low on memory).
> Add a utility profile for the commands other than 'run' to use for their own
> settings (and logging config, see ARTEMIS-4785)
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information, visit: https://activemq.apache.org/contact