Kris,

As dave said, I would start with increasing minimum and maximum heap size to
something more likely for a 64bit server. 512megs is inadequate. Set it to
at least 1024 (both of them) and other's have mentioned additional switches.

-Mark

Mark A. Kruger, MCSE, CFG
(402) 408-3733 ext 105
Skype: markakruger
www.cfwebtools.com
www.coldfusionmuse.com
www.necfug.com



-----Original Message-----
From: Kris Jones [mailto:kris.jon...@verizon.net] 
Sent: Monday, July 12, 2010 5:46 PM
To: cf-talk
Subject: Re: JVM args, GC issues, performance tuning - CF9, Win2k8


It's as default as it gets. No changes from initial install at all:

An enterprise server CF9 hf1:

java.args=-server -Xmx512m -Dsun.io.useCanonCaches=false
-XX:MaxPermSize=192m -XX:+UseParallelGC -Xbatch
-Dcoldfusion.rootDir={application.home}/
-Djava.security.policy={application.home}/servers/cfusion/cfusion-ear/cfusio
n-war/WEB-INF/cfusion/lib/coldfusion.policy
-Djava.security.auth.policy={application.home}/servers/cfusion/cfusion-ear/c
fusion-war/WEB-INF/cfusion/lib/neo_jaas.policy

A standard server CF9 hf1:

java.args=-server -Xmx512m -Dsun.io.useCanonCaches=false
-XX:MaxPermSize=192m -XX:+UseParallelGC -Xbatch
-Dcoldfusion.rootDir={application.home}/../
-Djava.security.policy={application.home}/../lib/coldfusion.policy
-Djava.security.auth.policy={application.home}/../lib/neo_jaas.policy
-Dcoldfusion.classPath={application.home}/../lib/updates,{application.home}/
../lib,{application.home}/../gateway/lib/,{application.home}/../wwwroot/WEB-
INF/cfform/jars,{application.home}/../wwwroot/WEB-INF/flex/jars
-Dcoldfusion.libPath={application.home}/../lib

Cheers,
Kris


On Mon, Jul 12, 2010 at 5:16 PM, Wil Genovese <jugg...@trunkful.com> wrote:
>
> Please post your JVM config line from jvm.config
>
> I can most likely give you the pointers you need once I see your existing
config arguments.
>

>>
>> We've been running into some issues while testing a new deployment.
>> Servers are CF9 (hf1) on Win2k8 64-bit. Also seeing same problems on
>> developer machines running Win7 64-bit, and WinXP (32-bit). We're
>> seeing the problem on both CF9 Standard as well as CF9 Enterprise.
>>
>> We're having trouble getting the GC to maintain a happy state, service
>> climbs and climbs, and eventually kacks the server. Wondering if any
>> of the following suggestions for GC settings etc., still apply for
>> CF9.
>> http://www.coldfusionmuse.com/index.cfm/2005/10/28/jvm.gc
>> http://www.petefreitag.com/articles/gctuning/
>>
>> Did find this, which shows his solution, but no good discussion about
>> setup based on server config:
>> http://forums.adobe.com/thread/642057?tstart=0
>>
>> And this one discusses 64-bit implementation, but again, no real
>> guidelines for how to tune.
>>
http://groups.google.com/group/cfaussie/browse_thread/thread/3932bce486621ab
e/8b37ea8cbe0384b6?pli=1
>>
>> And on GC itself:
>>
http://www.softwaresecretweapons.com/jspwiki/thelastjavagarbagecollectiongui
deyouwilleverneed
>>
>> Are there other resources that detail JVM args, GC settings, versions,
>> etc., as relates to CF9? Is it advisable to change the GC type?
>>
>> CF9 ships with 6.0_14, which doesn't exhibit the class loader bug. We
>> are seeing some mem lost when passing very large strings between
>> objects. This is resolved if we package the strings inside of structs
>> (pass by ref vs. pass by val), or write the process old-school. But,
>> honestly, is that a solution? We've implemented a check for var
>> scoping errors across the board, and have made sure that the output
>> attribute on every function definition is there and set to either true
>> or false (not left blank, or undefined).
>>



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:335280
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

Reply via email to