views:

73

answers:

1

I would like to have a possibility to use jconsole in production, but am a bit concerned about performance. Is it ok to leave JMX agent running (via -Dcom.sun.management.jmxremote) or will it have a noticeable performance footprint?

+1  A: 

From Tuning Your GlassFish – Performance Tips :

General Tuning Tips

Unused features could have a negative impact on the performance and should be disabled:

  • Auto-deployment of applications

  • JMX Monitoring

  • JMS

  • Dynamic JSP reloading

  • JDBC Connection validation

  • Security Manager could be turned off if the applications are all trusted internal applications

Source: http://wiki.glassfish.java.net/attach/GlassFishDay2008Hyderabad/GlassFishDay2008PerfPreso.pdf (PDF document)

Bakkal