Skip to main content
Inspiring
July 30, 2009
Question

CF 8 / Windows Boxes Hanging (Not crashing)

  • July 30, 2009
  • 2 replies
  • 1184 views

I've got a server where after a few hours the CPU is sustained at >50% and it becomes DOG SLOW to serve pages AND run remote desktop. After I restart the CF service the remote desktop / serving magically runs just fine. It just happened to a completely different server as well. This is different from crashes I've seen in that:

  • It effect the performance of EVERYTHING on the server
  • It doesn't throw up any jrun errors, just runs EXTREMELY slow

I've tried the following:

  • Stopping each site individually in IIS
  • Disabled ODBC/.Net/Search CF Services
  • Installed fusionreactor looking for extremely long running threads
  • Lowered the maximum JVM heap size (thought maybe one server, with only 2gb, had CF sapping too much memory)


Has anyone encountered such a problem?

Thanks,

Charley

Below you can see how the CPU all of a sudden spikes, snuffing out all life of the server it would seem:


cpu-usage.jpg

    This topic has been closed for replies.

    2 replies

    Inspiring
    July 31, 2009

    JVM pretty bread and butter...

    #
    # VM configuration
    #
    # Where to find JVM, if {java.home}/jre exists then that JVM is used
    # if not then it must be the path to the JRE itself
    java.home=C:/ColdFusion8/runtime/jre
    #
    # If no java.home is specified a VM is located by looking in these places in this
    # order:
    #
    #  1) bin directory for java.dll (windows) or lib/<ARCH>/libjava.so (unix)
    #  2) ../jre
    #  3) registry (windows only)
    #  4) JAVA_HOME env var plus jre (ie $JAVA_HOME/jre)
    #

    # Arguments to VM
    java.args=-server  -Xmx512m -Dsun.io.useCanonCaches=false -XX:MaxPermSize=256m -XX:+UseParallelGC -Dcoldfusion.rootDir={application.home}/../ -Dcoldfusion.libPath={application.home}/../lib -Dcoldfusion.classPath={application.home}/../lib/updates,{application.home}/../lib,{application.home}/../gateway/lib/,{application.home}/../wwwroot/WEB-INF/flex/jars,{application.home}/../wwwroot/WEB-INF/cfform/jars,c:/ColdFusion8/classpath/JLinkPointTxn.jar

    #
    # commas will be converted to platform specific separator and the result will be passed
    # as -Djava.ext.dirs= to the VM
    java.ext.dirs={jre.home}/lib/ext

    #
    # where to find shared libraries
    java.library.path={application.home}/../lib,{application.home}/../jintegra/bin,{application.home}/../jintegra/bin/international
    system.path.first=false

    #
    # set the current working directory - useful for Windows to control
    # the default search path used when loading DLLs since it comes
    # before system directory, windows directory and PATH
    java.user.dir={application.home}/../../lib

    # JVM classpath
    java.class.path={application.home}/servers/lib,{application.home}/../lib/macromedia_drivers.jar,{application.home}/lib/cfmx_mbean.jar,{application.home}/lib

    Inspiring
    July 30, 2009

    Curiously as well the memory dumped out about 5 minutes before ( I assume garbage collection ):

    July 31, 2009

    Let's see some logs.

    Also, let's see your jvm.config settings.