<p>This is a work in progress.</p>
<p>notes to self:<br>
cannot make the JVM fire up a jmx-service.</p>
<p>standin jar works</p>
<pre><code>% jcmd 28970 PerfCounter.print
[snip]
java.rt.vmArgs="-Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.local.only=true -Dcom.sun.management.jmxremote.port=6969 -Dcom.sun.management.jmxremote.rmi.port=6969 -Dcom.sun.management.jmxremote.ssl=false -Dcom.sun.management.jmxremote.authenticate=false"
[snip]
sun.management.JMXConnectorServer.0.authenticate="false"
sun.management.JMXConnectorServer.0.remoteAddress="service:jmx:rmi:///jndi/rmi://workstation:6969/jmxrmi"
sun.management.JMXConnectorServer.0.ssl="false"
sun.management.JMXConnectorServer.0.sslNeedClientAuth="false"
sun.management.JMXConnectorServer.0.sslRegistry="false"
sun.management.JMXConnectorServer.address="service:jmx:rmi://127.0.0.1/stub/rO0ABXNyAC5qYXZheC5tYW5hZ2VtZW50LnJlbW90ZS5ybWkuUk1JU2VydmVySW1wbF9TdHViAAAAAAAAAAICAAB4cgAaamF2YS5ybWkuc2VydmVyLlJlbW90ZVN0dWLp/tzJi+FlGgIAAHhyABxqYXZhLnJtaS5zZXJ2ZXIuUmVtb3RlT2JqZWN002G0kQxhMx4DAAB4cHc5AAtVbmljYXN0UmVmMgAADjE5Mi4xNjguOTMuMTAyAACyuWmYcsfkIQJcg+K0sQAAAXB3S81MgAIAeA=="
sun.management.JMXConnectorServer.remote.enabled=0
</code></pre>
<p>[snip]</p>
<p>price node does not</p>
<pre><code>root@bisqserver ~ # /usr/lib/jvm/openjdk-10.0.2/bin/jcmd 18831 PerfCounter.print
[snip]
java.rt.vmArgs="-Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.local.only=true -Dcom.sun.management.jmxremote.port=6969 -Dcom.sun.management.jmxremote.rmi.port=6969 -Dcom.sun.management.jmxremote.ssl=false -Dcom.sun.management.jmxremote.authenticate=false"
[snip]
</code></pre>
<p>I can exclude these from the list of reasons</p>
<ul>
<li>java version</li>
<li>using it with a .jar</li>
<li>running with an unprivileged user</li>
<li>is caused by service hardening</li>
</ul>
<p>still open:</p>
<ul>
<li>there seems to be an embedded tomcat within the pricenode, can that be the reason? but why should it be?</li>
</ul>
<p>I currently tend to just leave it. It takes too much efforts to find the cause. We did not have any JVM heap data on pricenodes until now, we might visit that again once it issues show up.</p>

<hr>

<h4>You can view, comment on, or merge this pull request online at:</h4>
<p>  <a href='https://github.com/bisq-network/bisq/pull/4004'>https://github.com/bisq-network/bisq/pull/4004</a></p>

<h4>Commit Summary</h4>
<ul>
  <li>Add pricenode one-command installer script, systemd service, README</li>
  <li>Adjust the pricenode installer</li>
  <li>Amended pricenode readme</li>
</ul>

<h4>File Changes</h4>
<ul>
  <li>
    <strong>M</strong>
    <a href="https://github.com/bisq-network/bisq/pull/4004/files#diff-0">monitor/install_collectd_debian.sh</a>
    (15)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/bisq-network/bisq/pull/4004/files#diff-1">pricenode/README.md</a>
    (66)
  </li>
  <li>
    <strong>A</strong>
    <a href="https://github.com/bisq-network/bisq/pull/4004/files#diff-2">pricenode/bisq-pricenode.env</a>
    (3)
  </li>
  <li>
    <strong>A</strong>
    <a href="https://github.com/bisq-network/bisq/pull/4004/files#diff-3">pricenode/bisq-pricenode.service</a>
    (22)
  </li>
  <li>
    <strong>A</strong>
    <a href="https://github.com/bisq-network/bisq/pull/4004/files#diff-4">pricenode/install_pricenode_debian.sh</a>
    (90)
  </li>
</ul>

<h4>Patch Links:</h4>
<ul>
  <li><a href='https://github.com/bisq-network/bisq/pull/4004.patch'>https://github.com/bisq-network/bisq/pull/4004.patch</a></li>
  <li><a href='https://github.com/bisq-network/bisq/pull/4004.diff'>https://github.com/bisq-network/bisq/pull/4004.diff</a></li>
</ul>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/bisq-network/bisq/pull/4004?email_source=notifications&email_token=AJFFTNWAAPRZGNYBTKTXVXDREPJMLA5CNFSM4K2JEUAKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4IPXYYWQ">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AJFFTNRESJW5BDG3TKTYOOTREPJMLANCNFSM4K2JEUAA">unsubscribe</a>.<img src="https://github.com/notifications/beacon/AJFFTNXTMHEIW3CPVK5QWRDREPJMLA5CNFSM4K2JEUAKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4IPXYYWQ.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/bisq-network/bisq/pull/4004?email_source=notifications\u0026email_token=AJFFTNWAAPRZGNYBTKTXVXDREPJMLA5CNFSM4K2JEUAKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4IPXYYWQ",
"url": "https://github.com/bisq-network/bisq/pull/4004?email_source=notifications\u0026email_token=AJFFTNWAAPRZGNYBTKTXVXDREPJMLA5CNFSM4K2JEUAKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4IPXYYWQ",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>