• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Devaka Cooray
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Knute Snortum
  • Bear Bibeault
Saloon Keepers:
  • Ron McLeod
  • Tim Moores
  • Stephan van Hulst
  • Piet Souris
  • Ganesh Patekar
Bartenders:
  • Frits Walraven
  • Carey Brown
  • Tim Holloway

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

 
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?
 
Consider Paul's rocket mass heater.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!