Skip to content

Conversation

@SviridovMM
Copy link

No description provided.

fix preset JVM options.
# 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.

pkill -f "Dyardstick.server"

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.

3 participants