Here is my config file:( we have 1.5 G of ram - The funny thing is we 
have about 1 concurrent user on average)

#
# 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:/CFusionMX7/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  -DJINTEGRA_NATIVE_MODE -DJINTEGRA_PREFETCH_ENUMS 
-Xms768m -Xmx1000m -Dsun.io.useCanonCaches=false -XX:MaxPermSize=256m 
-XX:NewSize=256m -XX:PermSize=128m 
-Dcoldfusion.rootDir={application.home}/../ 
-Dcoldfusion.libPath={application.home}/../lib -XX:+UseParallelGC 
-Dcoldfusion.classPath={application.home}/../../classes,{application.home}/../lib/updates,{application.home}/../lib/,{application.home}/../gateway/lib/,{application.home}/../wwwroot/WEB-INF/cfform/jars,c:\\CFusionMX7\\customtags\\CFX_JSpellCheck\\CFX_JSpellCheck.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


Robertson-Ravo, Neil (RX) wrote:

>Hey,
> 
>The issues you have are common (we had them as well); CFMX is no longer a
>'server' in the sense that CF5 is - it is an application which is bound by
>Java and your Server specs.  Your specifications may run fine on a decent
>spec server but when you shift to true Java and CFMX you will find that you
>may need to upgrade your RAM and maybe even devices - you sure as hell will
>need to tweak your JVM if you are running an application which is hit pretty
>hard (300-500 users at any one time).
>
>CFMX uses around 4x the amount of RAM when conducting queries and for long
>running queries (which ran AOK on CF5) you may see it hanging as it will not
>be able to release any more threads while it conducts its queries.  It is a
>good idea not to run long running batches on CFMX - anywhere up to 2K in a
>record set can result in reduced performance.
>
>If you are not running in J2EE mode that may also have a factor - in this
>guise you can get better performance over Server Config.
>
>Your problem could be IIS (I suggest running IISState on it when it hangs to
>get a thread dump).  You will also want to get VisualGC running as you may
>find your application is performing a Global collection which is locking
>your app.
>
>If you have an example of what your app is doing it would help - i.e. how
>many users, what methodogoloy do you use if any (Fusebox, Mach-II etc), what
>Database are you using, are you using CFQUERY or SP's, what specs are your
>machine.
>
>Also post your jvm,config file so we can see what is defined and hopefully
>tweak it to better suit your Application.
>
>HTH
>
>N
>
>
>
>
>  
>
>  
>

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Find out how CFTicket can increase your company's customer support 
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49

Message: http://www.houseoffusion.com/lists.cfm/link=i:10:5496
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/10
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:10
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.10
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to