-
Notifications
You must be signed in to change notification settings - Fork 813
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
[jmxfetch] fix windows bootloop 🐛 #1561
Conversation
yannmh
commented
Apr 20, 2015
- [Windows] Fix JMXFetch bootloop issue when no JMX integration config is found
- [Linux][OSX] Better management of unexpected exit codes ( != 0)
- [Linux][OSX] [Windows] Limit JMXFetch attempts of restarts to 3
- [Linux][OSX][Windows] Fill a status when JMXFetch could not be launched
The nightly builds are named accordingly.
db490e2
to
4d4949e
Compare
if len(self.jmx_checks) > 0: | ||
return self._start(self.java_bin_path, self.java_options, self.jmx_checks, | ||
command, reporter, self.tools_jar_path) | ||
else: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is that really needed if we exit with a 0 status code ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I am not sure to understand your point: we don't necessarily exit with a 0 status code.
7945957
to
97c4363
Compare
Monitor the attached process. | ||
Restarts when it exits until the limit set is reached. | ||
""" | ||
def __init__(self, name, process, max_restarts="inf"): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the default shouldn't be +inf it should be a reasonable value, 5 seems good to me.
0877e56
to
06ac2f6
Compare
[jmxfetch] fix windows bootloop 🐛
Changes Unknown when pulling 06ac2f6 on yann/is-jmx-enabled-2 into ** on master**. |