Skip to main content
Inspiring
February 10, 2011
Question

CPU Usage going crazy

  • February 10, 2011
  • 2 replies
  • 3236 views

Hi Folks,

My CPU usage is at 100% and the webpages are loading without the stylesheet.

I've restarted a few services and it seems to be better, but the CPU usage is still a bit erratic.

Can anyone please tell me how I can find out what the problem is? Is there a fault finding process I can go through, restarting each service one at a time?

Coldfusion 7/ windows server 2003/ IIS v6

Many thanks

    This topic has been closed for replies.

    2 replies

    Charlie Arehart
    Community Expert
    Community Expert
    February 11, 2011

    Matt, while some would immediately wonder if you have "some long running looping page", in my experience the high cpu is more typically reflective of instead a JVM memory issue. (And it may not be a "you need to add more heap" error. It may instead be a "you need to add more maxpermsize", or even "you need to have less heap", believe it or not.)

    Rather than speculate, I offer details on how to start sorting such things out by showing you where to look and how to read the tea leaves at this blog entry:

    CF911: Lies, damned lies, and when memory problems not be at all what they seem, Part 1

    http://www.carehart.org/blog/client/index.cfm/2010/11/3/when_memory_problems_arent_what_they_seem_part_1

    I know I still need to get to the other parts I outlined, but even without them, the introductory diagnostic info may help you.

    Let us know how it goes.

    /charlie arehart

    charlie@carehart.org

    Providing CF and CFBuilder troubleshooting services

    at http://www.carehart.org/consulting

    /Charlie (troubleshooter, carehart. org)
    matthiscoAuthor
    Inspiring
    February 14, 2011

    Thanks very much for your replies, really appreciate it.

    I've gone back through the error logs.

    I did get a java error just before everything stated to go belly up:

    "An unhandled win32 exception occurred in java.exe [1864]. Just-In-Time debugging this exception failed with the following error: Debugger could not be started because no user is logged on."

    However, I did get loads of these warnings throughout the night, do you think they might have anything to do with it?

    "Failed to delete the queued snapshot(sqlinfo__xxx__xxx_deleting) on Storage System(xxxxx) volume(xxxxx).

    Error code : A FlexClone based on the snapshot still exists or SnapMirror replication is in progress."

    Thanks again for your replies

    Legend
    February 15, 2011

    Hi,

    The unhandled java exception error that happens before the server “goes crazy” is probably the best indicator of the issue. Other errors occurring after that are probably symptomatic of the first error. I still think the details before and during the time when java is cpu bound in CFusionMX7\runtime\logs\ coldfusion-out.log (JRun4\logs\ in case of multi-server) will provide more idea as to what is happening. Perhaps you could paste a sample?

    Not seen those “nightly” error messages so I got no idea on them perhaps others here can comment more.

    ColdFusion 7 – What java virtual machine version is CF using? Is CF7 updater 2 applied?

    HTH, Carl.

    Legend
    February 11, 2011

    Hi,

    It would be good to confirm it is jrun.exe that is the process cpu bound and not something else taking the cpu usage?

    If jrun.exe then start by having a look thru the CFadminUI > Debugging & Logging > Log Files. Also check CF\runtime\logs for errors.

    HTH, Carl.