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

Excluding opensearch-benchmarkd process while finding benchmark process #552

Merged
merged 1 commit into from
Jun 14, 2024

Conversation

backslasht
Copy link
Contributor

Description

On Linux, /proc/PID/status truncates the command name to 15 characters which matches both opensearch-benchmark and opensearch-benchmarkd. Adding an additional check to exclude opensearch-benchmarkd process.

Testing

Validated by running benchmark daemon on three nodes and then by running execute test with --load-worker-coordinator-hosts option. The test ran fine on the worker nodes.


By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

On Linux, /proc/PID/status truncates the command name to 15 characters which matches both opensearch-benchmark
and opensearch-benchmarkd. Adding an additional check to exclude opensearch-benchmarkd process.

Signed-off-by: Prabhakar Sithanandam <prabhakar.s87@gmail.com>
Copy link
Collaborator

@rishabh6788 rishabh6788 left a comment

Choose a reason for hiding this comment

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

LGTM.

Copy link
Collaborator

@IanHoang IanHoang left a comment

Choose a reason for hiding this comment

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

Thanks for this!

@IanHoang IanHoang merged commit 92bf0b9 into opensearch-project:main Jun 14, 2024
8 checks passed
finnroblin pushed a commit to finnroblin/opensearch-benchmark that referenced this pull request Jul 19, 2024
…ss (opensearch-project#552)

Signed-off-by: Prabhakar Sithanandam <prabhakar.s87@gmail.com>
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.

4 participants