Re: JVM settings question
Jonah, your settings helped. Thank you. -RR On Wed, Aug 29, 2012 at 8:54 PM, .jonah jonah@creori.com wrote: I've got a 3 gig heap and these settings on a similarly spec'ed box - no claim whether they're ideal or not. -server -Dsun.io.useCanonCaches=false -XX:MaxPermSize=512m -XX:+UseParallelGC -Xbatch -Dsun.rmi.dgc.client.gcInterval=60 -Dsun.rmi.dgc.server.gcInterval=60 On 8/29/12 5:38 PM, Robert Rhodes wrote: Yes: Java HotSpot(TM) 64-Bit Server VM How about I try setting min and max heap size to 2gb and see how that goes? Anything else I should tweak? Garbage Collection? On Wed, Aug 29, 2012 at 8:05 PM, .jonah jonah@creori.com wrote: Are you running 64bit Java? You can give the JVM as much RAM as you can spare. On 8/29/12 4:56 PM, Robert Rhodes wrote: Hello to all. I have several Windows 2008 R2 x64 servers running Coldfusion 9 standard. Each has 6 gigabytes of RAM. Each runs about 50 fairly active sites. I have not had any JVM errors I know about but sometimes the sites run slower than they should, as if CF is having trouble keeping up. Any suggestions on JVM settings for this configuration? Currently, I have Min and Max JVM size both set at 1GB. I have changed no other arguments. Thanks for the help. -RR ~| 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:352398 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
JVM settings question
Hello to all. I have several Windows 2008 R2 x64 servers running Coldfusion 9 standard. Each has 6 gigabytes of RAM. Each runs about 50 fairly active sites. I have not had any JVM errors I know about but sometimes the sites run slower than they should, as if CF is having trouble keeping up. Any suggestions on JVM settings for this configuration? Currently, I have Min and Max JVM size both set at 1GB. I have changed no other arguments. Thanks for the help. -RR ~| 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:352341 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: JVM settings question
Are you running 64bit Java? You can give the JVM as much RAM as you can spare. On 8/29/12 4:56 PM, Robert Rhodes wrote: Hello to all. I have several Windows 2008 R2 x64 servers running Coldfusion 9 standard. Each has 6 gigabytes of RAM. Each runs about 50 fairly active sites. I have not had any JVM errors I know about but sometimes the sites run slower than they should, as if CF is having trouble keeping up. Any suggestions on JVM settings for this configuration? Currently, I have Min and Max JVM size both set at 1GB. I have changed no other arguments. Thanks for the help. -RR ~| 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:352342 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: JVM settings question
Yes: Java HotSpot(TM) 64-Bit Server VM How about I try setting min and max heap size to 2gb and see how that goes? Anything else I should tweak? Garbage Collection? On Wed, Aug 29, 2012 at 8:05 PM, .jonah jonah@creori.com wrote: Are you running 64bit Java? You can give the JVM as much RAM as you can spare. On 8/29/12 4:56 PM, Robert Rhodes wrote: Hello to all. I have several Windows 2008 R2 x64 servers running Coldfusion 9 standard. Each has 6 gigabytes of RAM. Each runs about 50 fairly active sites. I have not had any JVM errors I know about but sometimes the sites run slower than they should, as if CF is having trouble keeping up. Any suggestions on JVM settings for this configuration? Currently, I have Min and Max JVM size both set at 1GB. I have changed no other arguments. Thanks for the help. -RR ~| 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:352343 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: JVM settings question
I've got a 3 gig heap and these settings on a similarly spec'ed box - no claim whether they're ideal or not. -server -Dsun.io.useCanonCaches=false -XX:MaxPermSize=512m -XX:+UseParallelGC -Xbatch -Dsun.rmi.dgc.client.gcInterval=60 -Dsun.rmi.dgc.server.gcInterval=60 On 8/29/12 5:38 PM, Robert Rhodes wrote: Yes: Java HotSpot(TM) 64-Bit Server VM How about I try setting min and max heap size to 2gb and see how that goes? Anything else I should tweak? Garbage Collection? On Wed, Aug 29, 2012 at 8:05 PM, .jonah jonah@creori.com wrote: Are you running 64bit Java? You can give the JVM as much RAM as you can spare. On 8/29/12 4:56 PM, Robert Rhodes wrote: Hello to all. I have several Windows 2008 R2 x64 servers running Coldfusion 9 standard. Each has 6 gigabytes of RAM. Each runs about 50 fairly active sites. I have not had any JVM errors I know about but sometimes the sites run slower than they should, as if CF is having trouble keeping up. Any suggestions on JVM settings for this configuration? Currently, I have Min and Max JVM size both set at 1GB. I have changed no other arguments. Thanks for the help. -RR ~| 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:352344 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: JVM settings question
Do you have any metrics monitoring of the JVM? There can be any number of reason why sites are sluggish at times. Blindly altering the JVM settings may not help you and may hurt your cause. You can enable metrics logging in ColdFusion Standard by editing the JRUN.XML file. http://cfwhisperer.net/post.cfm/10-steps-to-a-stable-and-performant-web-application-step-2 You can download and run CFTracker http://www.cftracker.net You can install the Trial of Fusion Reactor or SeeFusion. All of these will give you greater insight into your server, JVM inner memory spaces and the last two can give you metrics data on the JDBC data. Odds are ColdFusion is keeping just fine. In most cases that I've worked on there are outside factors affecting the server; database, system I/O, backups, network issues, cfhttp calls, over active spiders, unexpected consequences of code when scaled etc. Regards, Wil Genovese Sr. Web Application Developer/ Systems Administrator CF Webtools www.cfwebtools.com wilg...@trunkful.com www.trunkful.com On Aug 29, 2012, at 7:38 PM, Robert Rhodes wrote: Yes: Java HotSpot(TM) 64-Bit Server VM How about I try setting min and max heap size to 2gb and see how that goes? Anything else I should tweak? Garbage Collection? On Wed, Aug 29, 2012 at 8:05 PM, .jonah jonah@creori.com wrote: Are you running 64bit Java? You can give the JVM as much RAM as you can spare. On 8/29/12 4:56 PM, Robert Rhodes wrote: Hello to all. I have several Windows 2008 R2 x64 servers running Coldfusion 9 standard. Each has 6 gigabytes of RAM. Each runs about 50 fairly active sites. I have not had any JVM errors I know about but sometimes the sites run slower than they should, as if CF is having trouble keeping up. Any suggestions on JVM settings for this configuration? Currently, I have Min and Max JVM size both set at 1GB. I have changed no other arguments. Thanks for the help. -RR ~| 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:352345 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: JVM settings question
Good call on looking at external and code issues. I had a server that would hang solid every few days and FusionReactor showed me the culprit: a lock deep in some CF library. Took care of that and the server's been rock-solid since. On 8/29/12 5:56 PM, Wil Genovese wrote: Do you have any metrics monitoring of the JVM? There can be any number of reason why sites are sluggish at times. Blindly altering the JVM settings may not help you and may hurt your cause. You can enable metrics logging in ColdFusion Standard by editing the JRUN.XML file. http://cfwhisperer.net/post.cfm/10-steps-to-a-stable-and-performant-web-application-step-2 You can download and run CFTracker http://www.cftracker.net You can install the Trial of Fusion Reactor or SeeFusion. All of these will give you greater insight into your server, JVM inner memory spaces and the last two can give you metrics data on the JDBC data. Odds are ColdFusion is keeping just fine. In most cases that I've worked on there are outside factors affecting the server; database, system I/O, backups, network issues, cfhttp calls, over active spiders, unexpected consequences of code when scaled etc. Regards, Wil Genovese Sr. Web Application Developer/ Systems Administrator CF Webtools www.cfwebtools.com wilg...@trunkful.com www.trunkful.com On Aug 29, 2012, at 7:38 PM, Robert Rhodes wrote: Yes: Java HotSpot(TM) 64-Bit Server VM How about I try setting min and max heap size to 2gb and see how that goes? Anything else I should tweak? Garbage Collection? On Wed, Aug 29, 2012 at 8:05 PM, .jonah jonah@creori.com wrote: Are you running 64bit Java? You can give the JVM as much RAM as you can spare. On 8/29/12 4:56 PM, Robert Rhodes wrote: Hello to all. I have several Windows 2008 R2 x64 servers running Coldfusion 9 standard. Each has 6 gigabytes of RAM. Each runs about 50 fairly active sites. I have not had any JVM errors I know about but sometimes the sites run slower than they should, as if CF is having trouble keeping up. Any suggestions on JVM settings for this configuration? Currently, I have Min and Max JVM size both set at 1GB. I have changed no other arguments. Thanks for the help. -RR ~| 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:352346 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm