ColdFusion 8 and jConsole
I have been spending the last week tying to determine why our ColdFusion 8, Windows 2003 web server suddendly went from a historical average of 5% to 10% cpu usage to frequently spiking over 90%, which sets off all kinds of alarms with our operation staff, and maintaing a good 50% average.
The little I have been able to determine is that our main ColdFusion instance was using a fair amount of memory and frequently consuming 50% cpu usage on our two cpu box,/ We have two instances plus the cfusion administrator instance running in a ColdFusion multi-home setup.
This has lead me down the path of trying to dump and read threads for the first time in my career. In learning how to do so, the jConsole tool has been recomeneded many times. I am wondering if anybody can give me some advice on using this tool?
- Does it work with the out-of-the-box JRun4 jvm that comes with ColdFusion 8?
- Is there anything else that needs to be done on the server other then adding the four Dcom.sun.management.jmxremote arguments to the java.args line in the jvm.config file?
- I plan to install a Sun Java SDK on my workstation to run the jConsole tool, is there any concern about which version of the SDK I install, does it need to match the server in some manner?
TIA
Ian
