Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Some GC usage values in Terracotta server cannot be fetched by Zapcat

 
Heath Swanson
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm wondering why some values cannot be fetched by Zapcat while they can be fetched by Jconsole accessing directly to 9520 jmx port.

For example, Jconsole shows Perm Gen's Usage.committed value when selecting MBean tab and open the "java.lang" -> "MemoryPool" -> "Perm Gen".
It shows MemoryPool Code Cache Usage.committed, too.

My terracotta server starts Zapcat agent, which listens on 10053.
These are the result of access to 10053 by telnet;
# telnet localhost 10053
Trying 127.0.0.1...
Connected to localhost.localdomain (127.0.0.1).
Escape character is '^]'.
jmx[java.lang:type=MemoryPool,name=Code Cache][Usage.committed]
ZBXD2555904Connection closed by foreign host.
The value can be successfully fetched.

# telnet localhost 10053
Trying 127.0.0.1...
Connected to localhost.localdomain (127.0.0.1).
Escape character is '^]'.
jmx[java.lang:type=MemoryPool,name=Perm Gen][Usage.committed]
ZBXDZBX_NOTSUPPORTEDConnection closed by foreign host.
The value is "not supported".

Why?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic