[CLOUD-2598] update jvm args#24
Open
vbusch wants to merge 1 commit into
Open
Conversation
- leave the gc from the cct scripts
- remove the gc that gets added by artemis
- remove the min and max memory settings from artemis. Using the rations from cct scripts.
Other args added by artemis are:
-XX:+PrintClassHistogram -XX:+AggressiveOpts -XX:+UseFastAccessorMethods -Dhawtio.realm=activemq -Dhawtio.offline="true" -Dhawtio.role=admin -Dhawtio.rolePrincipalClasses=org.apache.activemq.artemis.spi.core.security.jaas.RolePrincipal -Djolokia.policyLocation=${ARTEMIS_INSTANCE_URI}/etc/jolokia-access.xml -Djon.id=amq
Other args added by cct scripts are:
-XX:+UnlockExperimentalVMOptions -XX:+UseCGroupMemoryLimitForHeap -XX:+UseParallelOldGC -XX:MinHeapFreeRatio=10 -XX:MaxHeapFreeRatio=20 -XX:GCTimeRatio=4 -XX:AdaptiveSizePolicyWeight=90 -XX:MaxMetaspaceSize=100m -XX:+ExitOnOutOfMemoryError
Signed-off-by: Vanessa Busch <vbusch@redhat.com>
RoddieKieley
approved these changes
Jun 6, 2018
RoddieKieley
left a comment
There was a problem hiding this comment.
It appears to me that this does what it says, which I believe were the recommended things to be changed via the associated CLOUD-2598 issue.
dsimansk
reviewed
Jun 11, 2018
|
|
||
| function removeArtemisDefaultGcAndMemSettings() { | ||
| #Use the memory and gc set calculated from cct_module, removing the ones that conflict | ||
| sed -i "s/-XX:+UseG1GC/ /" broker/etc/artemis.profile |
There was a problem hiding this comment.
Isn't the $AMQ_HOME variable missing here in path to profile file?
gaohoward
pushed a commit
that referenced
this pull request
Sep 7, 2021
Issue #24 The command 'ps' is not installed which is used in drain.sh
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Other args added by artemis are:
-XX:+PrintClassHistogram -XX:+AggressiveOpts -XX:+UseFastAccessorMethods -Dhawtio.realm=activemq -Dhawtio.offline="true" -Dhawtio.role=admin -Dhawtio.rolePrincipalClasses=org.apache.activemq.artemis.spi.core.security.jaas.RolePrincipal -Djolokia.policyLocation=${ARTEMIS_INSTANCE_URI}/etc/jolokia-access.xml -Djon.id=amq
Other args added by cct scripts are:
-XX:+UnlockExperimentalVMOptions -XX:+UseCGroupMemoryLimitForHeap -XX:+UseParallelOldGC -XX:MinHeapFreeRatio=10 -XX:MaxHeapFreeRatio=20 -XX:GCTimeRatio=4 -XX:AdaptiveSizePolicyWeight=90 -XX:MaxMetaspaceSize=100m -XX:+ExitOnOutOfMemoryError
Signed-off-by: Vanessa Busch vbusch@redhat.com
Thanks for submitting your Pull Request!
Please make sure your PR meets the following requirements:
[CLOUD-XYA] SubjectCONTRIBUTING.md)Signed-off-by: Your Name <yourname@example.com>- usegit commit -s