Re: JVM args, GC issues, performance tuning - CF9, Win2k8

2011-02-09 Thread Ben Raccuia

Hello Mark,

I was hoping you could help out in this case as well.  I have followed this 
post and made the recommended changes you specified, but still we have periodic 
CF service restarts.  I have attached the VM arguments and evars.  Any help in 
direction would be welcome.

Thank you.

BEN


VM Arguments:
jvm_args: -Xms1024m -Xmx1024m -Dsun.io.useCanonCaches=false -XX:PermSize=512m 
-XX:MaxPermSize=512m -XX:+UseParallelGC 
-Dcoldfusion.rootDir=C:\ColdFusion9\runtime/../ 
-Dcoldfusion.libPath=C:\ColdFusion9\runtime/../lib 
-Dcoldfusion.classPath=C:\ColdFusion9\runtime/../lib/updates,C:\ColdFusion9\runtime/../lib,C:\ColdFusion9\runtime/../gateway/lib/,C:\ColdFusion9\runtime/../wwwroot/WEB-INF/flex/jars,C:\ColdFusion9\runtime/../wwwroot/WEB-INF/cfform/jars
 -Djmx.invoke.getters=true 
java_command: unknown
Launcher Type: generic

Environment Variables:
PATH=C:\ColdFusion9\runtime\..\lib;C:\ColdFusion9\runtime\..\jintegra\bin;C:\ColdFusion9\runtime\..\jintegra\bin\international;C:\ColdFusion9\runtime\..\lib\oosdk\classes\win;C:\Program
 
Files\Legato\nsr\bin;C:\ColdFusion9\verity\k2\_nti40\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\
USERNAME=Administrator
OS=Windows_NT
PROCESSOR_IDENTIFIER=Intel64 Family 6 Model 46 Stepping 6, GenuineIntel



---  S Y S T E M  ---

OS: Windows Server 2008 R2 Build 7600 

CPU:total 2 (1 cores per cpu, 1 threads per core) family 6 model 46 stepping 6, 
cmov, cx8, fxsr, mmx, sse, sse2, sse3, ssse3, sse4.1, sse4.2

Memory: 4k page, physical 4194303k(4194303k free), swap 4194303k(4194303k free)

vm_info: Java HotSpot(TM) Server VM (14.3-b01) for windows-x86 JRE 
(1.6.0_17-b04), built on Oct 11 2009 00:46:21 by java_re with MS VC++ 7.1

time: Wed Feb 09 14:00:00 2011
elapsed time: 3539 seconds



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



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




 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.


http://groups.google.com/group/cfaussie/browse_thread/thread/3932bce486621ab
e/8b37ea8cbe0384b6?pli=1
http://www.softwaresecretweapons.com/jspwiki/thelastjavagarbagecollectiongui
deyouwilleverneed 

~|
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:342058
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: JVM args, GC issues, performance tuning - CF9, Win2k8

2011-02-09 Thread Ben Raccuia

Rest...
Environment Variables:
PATH=C:\ColdFusion9\runtime\..\lib;C:\ColdFusion9\runtime\..\jintegra\bin;C:\ColdFusion9\runtime\..\jintegra\bin\international;C:\ColdFusion9\runtime\..\lib\oosdk\classes\win;C:\Program
 
Files\Legato\nsr\bin;C:\ColdFusion9\verity\k2\_nti40\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\
USERNAME=Administrator
OS=Windows_NT
PROCESSOR_IDENTIFIER=Intel64 Family 6 Model 46 Stepping 6, GenuineIntel



---  S Y S T E M  ---

OS: Windows Server 2008 R2 Build 7600 

CPU:total 2 (1 cores per cpu, 1 threads per core) family 6 model 46 stepping 6, 
cmov, cx8, fxsr, mmx, sse, sse2, sse3, ssse3, sse4.1, sse4.2

Memory: 4k page, physical 4194303k(4194303k free), swap 4194303k(4194303k free)

vm_info: Java HotSpot(TM) Server VM (14.3-b01) for windows-x86 JRE 
(1.6.0_17-b04), built on Oct 11 2009 00:46:21 by java_re with MS VC++ 7.1

time: Wed Feb 09 14:00:00 2011
elapsed time: 3539 seconds



 Hello Mark,
 
 I was hoping you could help out in this case as well.  I have followed 
 this post and made the recommended changes you specified, but still we 
 have periodic CF service restarts.  I have attached the VM arguments 
 and evars.  Any help in direction would be welcome.
 
 Thank you.
 
 BEN
 
 
 VM Arguments:
 jvm_args: -Xms1024m -Xmx1024m -Dsun.io.useCanonCaches=false 
 -XX:PermSize=512m -XX:MaxPermSize=512m -XX:+UseParallelGC -Dcoldfusion.
 rootDir=C:\ColdFusion9\runtime/../ -Dcoldfusion.
 libPath=C:\ColdFusion9\runtime/../lib -Dcoldfusion.
 classPath=C:\ColdFusion9\runtime/../lib/updates,
 C:\ColdFusion9\runtime/../lib,C:\ColdFusion9\runtime/../gateway/lib/,
 C:\ColdFusion9\runtime/../wwwroot/WEB-INF/flex/jars,
 C:\ColdFusion9\runtime/../wwwroot/WEB-INF/cfform/jars -Djmx.invoke.
 getters=true 
 java_command: unknown
 Launcher Type: generic
 
 Environment Variables:
 PATH=C:\ColdFusion9\runtime\..\lib;C:\ColdFusion9\runtime\..
 \jintegra\bin;C:\ColdFusion9\runtime\..
 \jintegra\bin\international;C:\ColdFusion9\runtime\..
 \lib\oosdk\classes\win;C:\Program 
Files\Legato\nsr\bin;C:\ColdFusion9\verity\k2\_nti40\bin;C:\Windows\system32;C:\Win
 dows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.
 0\
 USERNAME=Administrator
 OS=Windows_NT
 PROCESSOR_IDENTIFIER=Intel64 Family 6 Model 46 Stepping 6, 
 GenuineIntel
 
 
 
 ---  S Y S T E M  ---
 
 OS: Windows Server 2008 R2 Build 7600 
 
 CPU:total 2 (1 cores per cpu, 1 threads per core) family 6 model 46 
 stepping 6, cmov, cx8, fxsr, mmx, sse, sse2, sse3, ssse3, sse4.1, sse4.
 2
 
 Memory: 4k page, physical 4194303k(4194303k free), swap 
 4194303k(4194303k free)
 
 vm_info: Java HotSpot(TM) Server VM (14.3-b01) for windows-x86 JRE (1.
 6.0_17-b04), built on Oct 11 2009 00:46:21 by java_re with MS VC++ 7.
 1
 
 time: Wed Feb 09 14:00:00 2011
 elapsed time: 3539 seconds
 
 
 
 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
 
 
 
 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
 
 
 
 
  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.
 
 
 http://groups.google.
 com/group/cfaussie/browse_thread/thread/3932bce486621ab
 e/8b37ea8cbe0384b6?pli=1
 http://www.softwaresecretweapons.
 com/jspwiki/thelastjavagarbagecollectiongui
 deyouwilleverneed 


~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion