Re: jmxterm "#NullPointerException: No such PID "

2018-09-20 Thread Chris Lohfink
For what its worth, I highly recommend you remove that option in all cassandra clusters first thing. A possibly non existent improvement (ie /tmp on different low throughput drive) vs being able to diagnose issues is a no brainer. You can measure or monitor gc logs for your safepoint pauses to see

Re: jmxterm "#NullPointerException: No such PID "

2018-09-20 Thread Philip Ó Condúin
Thank you Yuki, this explains it. I am used to working on C* 2.1 in production where this JVM flag is not enabled. On Wed, 19 Sep 2018 at 00:29, Yuki Morishita wrote: > This is because Cassandra sets -XX:+PerfDisableSharedMem JVM option by > default. > This prevents tools such as jps to list jv

Re: jmxterm "#NullPointerException: No such PID "

2018-09-18 Thread Yuki Morishita
This is because Cassandra sets -XX:+PerfDisableSharedMem JVM option by default. This prevents tools such as jps to list jvm processes. See https://issues.apache.org/jira/browse/CASSANDRA-9242 for detail. You can work around by doing what Riccardo said. On Tue, Sep 18, 2018 at 9:41 PM Philip Ó Cond

Re: jmxterm "#NullPointerException: No such PID "

2018-09-18 Thread Philip Ó Condúin
Hi Riccardo, Yes that works for me: Welcome to JMX terminal. Type "help" for available commands. $> open localhost:7199 #Connection to localhost:7199 is opened $>domains #following domains are available JMImplementation ch.qos.logback.classic com.sun.management java.lang java.nio java.util.loggin

Re: jmxterm "#NullPointerException: No such PID "

2018-09-18 Thread Riccardo Ferrari
Hi Philip, I've used jmxterm myself without any problems particular problems. On my systems too, I don't get the cassandra daemon listed when issuing the `jvms` command but I never spent much time investigating it. Assuming you have not changed anything relevant in the cassandra-env.sh you can con

Re: jmxterm "#NullPointerException: No such PID "

2018-09-18 Thread Philip Ó Condúin
Further info: I would expect to see the following when I list the jvm's: Welcome to JMX terminal. Type "help" for available commands. $>jvms *25815(m) - org.apache.cassandra.service.CassandraDaemon* 17628( ) - jmxterm-1.0-alpha-4-uber.jar But jmxtem is not picking up the JVM for Cassandr

jmxterm "#NullPointerException: No such PID "

2018-09-18 Thread Philip Ó Condúin
Hi All, I need a little advice. I'm trying to access the JMX terminal using *jmxterm-1.0-alpha-4-uber.jar* with a very simple default install of C* 3.11.3 I keep getting the following: [cassandra@reaper-1 conf]$ java -jar jmxterm-1.0-alpha-4-uber.jar Welcome to JMX terminal. Type "help" for ava