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

BUGFIX Updating java_agrs to elephant.conf for resolving argument conflicts #299

Merged
merged 2 commits into from
Nov 10, 2017

Conversation

shahrukhkhan489
Copy link
Contributor

@shahrukhkhan489 shahrukhkhan489 commented Oct 27, 2017

Contains fixes mentioned in #297.

  1. Adding jvm_args instead of jvm_props to enable Java Arguments
  2. Adding -mem 1024 to enable default Heap allocation of 1GB.
  3. Adding -J-Xloggc:$project_root../logs/elephant/dr-gc.date +'%Y%m%d%H%M' -J-XX:+PrintGCDetails to enable GC logging in the same directory of Dr. Elephant Logs

@shahrukhkhan489 shahrukhkhan489 changed the title Updating java_agrs to elephant.conf for Java Arguments #297 Updating java_agrs to elephant.conf for resolving argument conflicts Oct 27, 2017
@shahrukhkhan489 shahrukhkhan489 changed the title Updating java_agrs to elephant.conf for resolving argument conflicts BUGFIX Updating java_agrs to elephant.conf for resolving argument conflicts Oct 28, 2017
@@ -27,7 +27,12 @@ enable_analytics=false

# Additional Configuration
# Check https://www.playframework.com/documentation/2.2.x/ProductionConfiguration
jvm_props="-Devolutionplugin=enabled -DapplyEvolutions.default=true"
#jvm_props="-Devolutionplugin=enabled -DapplyEvolutions.default=true"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove this line. Not required.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done


# Adding the below line for Heap Tuning and Java OPTS
# mem - Heap Memory
jvm_args="-Devolutionplugin=enabled -DapplyEvolutions.default=true -mem 1024 -J-Xloggc:$project_root../logs/elephant/dr-gc.`date +'%Y%m%d%H%M'` -J-XX:+PrintGCDetails"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is a slash missing here?

$project_root/..

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nope Its not. $project_root itself has a / within it. So there is not point of mentioning one more /

Copy link
Contributor Author

@shahrukhkhan489 shahrukhkhan489 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changes are done

@akshayrai akshayrai merged commit 3d3cc16 into linkedin:master Nov 10, 2017
skakker pushed a commit to skakker/dr-elephant that referenced this pull request Dec 14, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants