Search code examples
coldfusioncoldfusion-8jrun

JRUN process eats up 100% CPU


We regularly encounter performance issues with ColdFusion 8. On a farm of 3 front end servers, one gets unavailable: for some reason, the CPU goes 100% (on one core) and never goes down. When checking on Windows task manager, it appears the the jrun process is using 100% of on CPU.

do someone have a clue on how to start troubleshooting that? How to figure out what's causing the spike in first place. I'm a lot more into .net and feels a bit lost when it comes to java/jrun troubleshooting.

Our configuration is currently: CF 8 running on Windows 2008 R2 64 bits with Oracle 11g client, with 4GB RAM and a dual core CPU.


Solution

  • Have a look on this issue

    Strange JRUN issue. JRUN eating up 50% of memory for every two hours

    I was facing 50% of CPU usage on regular interval and it was due to client variable stored in registry. Even though you aren't using client variable but it stored in registry without your knowledge due setting added in Application.cfc/.cfm file.

    Also try to figure out which thread causing issue and get stracktrace of it will help you lot to investigate more on this. In above link's answer I have posted link of my blog post and explain about how you can use visualvm and jconsole to get stacktrace of your evil thread.

    Hope this help.