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

fix_pkill #38

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

fix_pkill #38

wants to merge 1 commit into from

Conversation

SviridovMM
Copy link

No description provided.

fix preset JVM options.
@@ -83,7 +83,7 @@ CP=${CP}":${SCRIPT_DIR}/../libs/*"
#
# ADD YOUR/CHANGE ADDITIONAL OPTIONS HERE
#
JVM_OPTS="-Xms2g -Xmx2g -server -Djava.net.preferIPv4Stack=true "${JVM_OPTS}
JVM_OPTS="-Djava.net.preferIPv4Stack=true "${JVM_OPTS}

Choose a reason for hiding this comment

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

Seems this not related to the issue?

Copy link
Author

Choose a reason for hiding this comment

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

Yes, but this applies to overriding JVM options. They are configured in .properties. Their presence is not justified here.

Choose a reason for hiding this comment

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

Feel free to propose additional PR with this fix.
Let reviewers check one fix per PR.


else
`ssh -o PasswordAuthentication=no ${REMOTE_USER}"@"${host_name} pkill -9 -f "Dyardstick.server"`
Copy link
Contributor

Choose a reason for hiding this comment

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

@SviridovMM if you have promlems with JFR then just set duration in profiler parameters (see below) less than benchmarks duration.

-XX:StartFlightRecording=duration=Ns

Changing the signal for the pkill command can cause problems with hung Java processes.

Choose a reason for hiding this comment

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

@isuntsov-gridgain, could you explain why this change may lead to hanging?

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.

None yet

3 participants