An infrequent, but recent series of JVM crashes under the configuration of CFMX 6.x on JVM 1.4.x on the Linux platform has been resolved in the short term with the -Xint JVM argument to disable the Sun JVM HotSpot optimizer. The -Xint JVM option, described in this Sun VM Options page, can be added to the JVM argument list in the ColdFusion Administrator to force the JVM to run in the interpreted mode, avoiding HotSpot optimization all together. The result is more stability in exchange a performance hit. While a better solution is being sought after, the -Xint option will work in a pinch.

his type of crash seems to be very specific for the CFMX on Linux with the 1.4. JVM, and not on any other combination of versions or platforms. In fact, I've found very few instances where this has occurred at all among a large set of servers. The HotSpot crash log (hs_err_pidnnnnn.log) which has been found in /tmp, but might show up in the {cfmx}/runtime/bin/ directory, has a unique error code: Error ID : 4F530E43505002EF. This error can be found in Sun's Bug Parade quite easily, and I'm working my way through reading each matching report.


A sample HotSpot crash log for this condition is shown here:


Unexpected Signal : 11 occurred at PC=0x40361190
Function=(null)+0x40361190
Library=/usr/java/j2re1.4.2_04/lib/i386/server/libjvm.so


NOTE: We are unable to locate the function name symbol for the error
just occurred. Please refer to release documentation for possible
reason and solutions.



Current Java thread:


Dynamic libraries:
08048000-0804f000 r-xp 00000000 30:03 2109426 /opt/coldfusionmx/bin/cfusion
0804f000-08050000 rw-p 00006000 30:03 2109426 /opt/coldfusionmx/bin/cfusion



Heap at VM Abort:
Heap
PSYoungGen total 51264K, used 6114K [0x44650000, 0x47f30000, 0x47f30000)
eden [0x44650000,0x44c48a50,0x47190000)
from [0x47860000,0x47860000,0x47f30000)
to [0x47190000,0x47190000,0x47860000)
PSOldGen total 466048K, used 72493K [0x47f30000, 0x64650000, 0x64650000)
object [0x47f30000,0x4c5fb630,0x64650000)
PSPermGen total 21760K, used 21575K [0x64650000, 0x65b90000, 0x6c650000)
object [0x64650000,0x65b61e20,0x65b90000)


Local Time = Sun May 16 03:18:19 2004
Elapsed Time = 128272
#
# HotSpot Virtual Machine Error : 11
# Error ID : 4F530E43505002EF
# Please report this error at
# http://java.sun.com/cgi-bin/bugreport.cgi
#
# Java VM: Java HotSpot(TM) Server VM (1.4.2_04-b05 mixed mode)
#


Want to know more about HotSpot? Read Understanding HotSpot in Plain English.