RE: JVM Tuning and Garbage Collection

2009-02-08 Thread Mark Kruger
-talk Subject: Re: JVM Tuning and Garbage Collection Eventually I'm going to want to solve these spikes.. I think SQL Profiler might help me figure stuff out but also having Cacti installed and monitoring network and disk and cpu activity more accurately than the task manager might help me debug

Re: JVM Tuning and Garbage Collection

2009-02-08 Thread Rick Root
On Sun, Feb 8, 2009 at 3:27 PM, Mark Kruger mkru...@cfwebtools.com wrote: What are your settings for client variables? We don't use them. Nor do we use session variables. Makes clustering a lot easier =) -- Rick Root New Brian Vander Ark Album, songs in the music player and cool behind the

Re: JVM Tuning and Garbage Collection

2009-02-07 Thread Rick Root
On Fri, Feb 6, 2009 at 3:26 AM, Jochem van Dieten joch...@gmail.com wrote: Do you really have that many templates that you need a 256 MB Max Perm size or are you just guessing? For a much deeper overview of what is happening add the following options: -XX:+PrintGCTimeStamps

RE: JVM Tuning and Garbage Collection 1.5.0_14 1.6.0_11 1.6.0_12

2009-02-07 Thread Justin Hansen
using 1.6.0_12 yet? Any reasons to or not to switch from 11 to 12? Justin -Original Message- From: Cutter (CFRelated) [mailto:cold.fus...@cutterscrossing.com] Sent: Thursday, February 05, 2009 9:00 AM To: cf-talk Subject: Re: JVM Tuning and Garbage Collection Rick, We run very

Re: JVM Tuning and Garbage Collection 1.5.0_14 1.6.0_11 1.6.0_12

2009-02-07 Thread Rick Root
On Sat, Feb 7, 2009 at 12:10 PM, Justin Hansen jhan...@uhlig.com wrote: Is anyone using 1.6.0_12 yet? Any reasons to or not to switch from 11 to 12? We just switched to 12 from the CF8 default jvm .. no problems so far. Rick

Re: JVM Tuning and Garbage Collection

2009-02-06 Thread Jochem van Dieten
On Fri, Feb 6, 2009 at 1:15 AM, Rick Root wrote: I lowed the memory on each instance to 768m - min and max - and added the garbage collection interval. I also increased the maxpermsize java.args=-server -Xmx768m -Xms768m -Dmail.host=www.classcreator.com -Dsun.io.useCanonCaches=false

RE: JVM Tuning and Garbage Collection

2009-02-06 Thread Gaulin, Mark
: Thursday, February 05, 2009 7:15 PM To: cf-talk Subject: Re: JVM Tuning and Garbage Collection I've taken advice from several of you and restarted my services... so far so good. I lowed the memory on each instance to 768m - min and max - and added the garbage collection interval. I also

RE: JVM Tuning and Garbage Collection

2009-02-06 Thread Mark Kruger
rate. -Mark -Original Message- From: Rick Root [mailto:rick.r...@webworksllc.com] Sent: Thursday, February 05, 2009 6:15 PM To: cf-talk Subject: Re: JVM Tuning and Garbage Collection I've taken advice from several of you and restarted my services... so far so good. I lowed the memory

Re: JVM Tuning and Garbage Collection

2009-02-06 Thread Rick Root
On Fri, Feb 6, 2009 at 3:26 AM, Jochem van Dieten joch...@gmail.com wrote: Do you really have that many templates that you need a 256 MB Max Perm size or are you just guessing? you got me :) We only have a few hundred templates, but we've got 7,000 unique web sites all running in a single

Re: JVM Tuning and Garbage Collection

2009-02-06 Thread Rick Root
On Fri, Feb 6, 2009 at 8:36 AM, Gaulin, Mark mgau...@globalspec.com wrote: If you have SQL Server you can run the SQL profiler to watch for slow queries; I've used this to isolate the queries that were actually slow (lots of read/writes or cpu, for example) from the queries that were slow

Re: JVM Tuning and Garbage Collection

2009-02-06 Thread Rick Root
Eventually I'm going to want to solve these spikes.. I think SQL Profiler might help me figure stuff out but also having Cacti installed and monitoring network and disk and cpu activity more accurately than the task manager might help me debug some things to. So, my server is experience fairly

Re: JVM Tuning and Garbage Collection

2009-02-06 Thread Jochem van Dieten
On Fri, Feb 6, 2009 at 6:02 PM, Rick Root wrote: On Fri, Feb 6, 2009 at 3:26 AM, Jochem van Dieten wrote: Do you really have that many templates that you need a 256 MB Max Perm size or are you just guessing? you got me :) We only have a few hundred templates, but we've got 7,000 unique

RE: JVM Tuning and Garbage Collection (Using SQL Profiler)

2009-02-06 Thread Gaulin, Mark
, 2009 12:39 PM To: cf-talk Subject: Re: JVM Tuning and Garbage Collection Eventually I'm going to want to solve these spikes.. I think SQL Profiler might help me figure stuff out but also having Cacti installed and monitoring network and disk and cpu activity more accurately than the task manager

Re: JVM Tuning and Garbage Collection (Using SQL Profiler)

2009-02-06 Thread Rick Root
/collapsing tree-view style format, but SQL 2000 does not (even though help mentions it). I miss this feature. -Original Message- From: Rick Root [mailto:rick.r...@webworksllc.com] Sent: Friday, February 06, 2009 12:39 PM To: cf-talk Subject: Re: JVM Tuning and Garbage Collection

JVM Tuning and Garbage Collection

2009-02-05 Thread Rick Root
Dear cf-talk, I'm working on a site that averages about 10 requests per second over the course of a 24 hour period... of course it's considerably more active during peak time periods (actually about 9am-midnight, with peak activity between 8 and 10pm. We spread this across 3 instances with 1gb

Re: JVM Tuning and Garbage Collection

2009-02-05 Thread Cutter (CFRelated)
Rick, We run very similar traffic. We found GC to be much better, for our app, when using the 1.5.0_14 JVM, over the default CF8 JVM. We hired Mike Brunt to come in and consult with us (some of the best money we ever spent). This may be better with the 1.6.0_11 JVM, but we haven't tested

Re: JVM Tuning and Garbage Collection

2009-02-05 Thread Wil Genovese
There are a few things I see in your JVM settings. The one major item I see is your not setting a time interval for running garbage collections. This means the default time is being used and this is known to cause issues during higher traffic occasions. Your going to want to add these

Re: JVM Tuning and Garbage Collection

2009-02-05 Thread Rick Root
On Thu, Feb 5, 2009 at 11:10 AM, Wil Genovese jugg...@visi.com wrote: There are a few things I see in your JVM settings. The one major item I see is your not setting a time interval for running garbage collections. This means the default time is being used and this is known to cause issues

Re: JVM Tuning and Garbage Collection

2009-02-05 Thread Wil Genovese
What is running your GC? Nothing in the JVM settings you posted shows how often your GC is running therefore to me it looks like your using the default values which is one minute. So the settings I posted are for 10 minute intervals. We've had great results with that interval. There are other

Re: JVM Tuning and Garbage Collection

2009-02-05 Thread Maureen Barger
Depending on how your app handles things you can address the frequency of GC but also change the _method_ of GC as well. Pete Freitag gives a great explanation on the different methods of GC: http://www.petefreitag.com/articles/gctuning/ It's for 1.42 but it gets the general definitions across.

Re: JVM Tuning and Garbage Collection

2009-02-05 Thread Rick Root
I've taken advice from several of you and restarted my services... so far so good. I lowed the memory on each instance to 768m - min and max - and added the garbage collection interval. I also increased the maxpermsize java.args=-server -Xmx768m -Xms768m -Dmail.host=www.classcreator.com