The NewGen size is too small.

On my dev environment (CF9.0.1 JVM 1.6.0_24) I ran these JVM args:
java.args=-server  -Xms4096m  -Xmx4096m -Dsun.io.useCanonCaches=false - 
XX:MaxPermSize=192m -XX:+UseParallelGC -XX:NewSize=48m - XX:SurvivorRatio=4 etc
CF became unresponsive without much load, tho I did not see the CPU bound.

I increased the NewGen JVM arg: -XX:NewSize=148m
Now CF kept on responding.

Three JVM things to note:
-the PermGen is fair to say small perhaps you do well to increase those values 
eg -XX:PermSize=148m -XX:MaxPermSize=296m
-have seen CF on 64 bit fail to respond when -XBatch is not in the JVM args 
-when using low pause XincGC you would do well to have a NewGen collector eg 
-XX:+UseParNewGC

HTH, Carl.

> the service stop responding not always at 3am, sometimes it's at 2pm, 
> 7pm etc
> 
> i check if there was any schedule task starting and no there's 
> nothing
> 
> here's my jvm settings now :
> 
> java.args=-server -Xmx4096m -Xms4096m -Dsun.io.useCanonCaches=false 
> -XX:PermSize=64m -XX:+UseParallelGC -XX:NewSize=48m 
> -XX:SurvivorRatio=4  -XX:MaxPermSize=192m -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:\\Program Files 
> (x86)\\Efflare\\ImageCR3Service\\imagecr3.jar"
> 
> is it ok? 


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

Reply via email to