Thanks Wil,

I have actually been doing a fair amount of tuning the JVM.  I'll definitely 
read your article, but in the meanwhile, here's my jvm.config file. Let me know 
if it seems totally wrong:

#
# 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:/j2sdk1.4.2_16/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 -Xms1024m 
-Xmx1024m -Dsun.io.useCanonCaches=false -XX:MaxPermSize=128m -XX:PermSize=64m 
-XX:NewSize=48m -Dcoldfusion.rootDir={application.home}/../ 
-Dcoldfusion.libPath={application.home}/../lib -XX:+UseConcMarkSweepGC 
-Dcoldfusion.classPath={application.home}/../lib/updates,{application.home}/../lib,{application.home}/../gateway/lib/,{application.home}/../wwwroot/WEB-INF/cfform/jars,c:\\CfusionMX7\\classpath

#
# 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


>Actually with the small but growing load you have (small compared to  
>what our servers get) you may be getting to the point where you need  
>to do some JVM tuning.
>
>What version JVM are you running and please post the java.args line  
>from the jvm.config file. I can offer plenty of tuning help.
>
>I just started my own blog (why not everyone else has one) and I was  
>starting to write up how to tune the JVM for high availability.   You  
>can start here and maybe I will finish the article soon.  But I can  
>answer your questions here also.
>
>http://www.trunkful.com/index.cfm/2008/5/19/How-to-Tune-the-JVM- 
>Part-1     (and no I am not a designer)
>
>Wil Genovese
>
>One man with courage makes a majority.
>-Andrew Jackson
>
>A fine is a tax for doing wrong. A tax is a fine for doing well.
>
>On May 29, 2008, at 1:31 PM, Michael Patti wrote:
>
>> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;192386516;25150098;k

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:306288
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to