Re: ColdFusion|JRun CPU and|or memory problem.

2010-01-22 Thread Ian Skinner
On 1/21/2010 8:37 PM, b...@bradwood.com wrote: I've been use the Trigger Snapshot function from the ColdFusion Monitor and I have been getting threads, but I am not, in my limited experience reading threads, I can see anything. In fact every thread dump I have done I have not seen a

Re: ColdFusion|JRun CPU and|or memory problem.

2010-01-21 Thread Ian Skinner
On 1/20/2010 4:08 PM, b...@bradwood.com wrote: I never got a clear answer from you on whether or not you are seeing memory jumps (real ones, not the petabytes that the CF server mon was showing you) or if your main problem was just CPU usage. I don't know about a Jump yet, but when we

Re: ColdFusion|JRun CPU and|or memory problem.

2010-01-21 Thread Ian Skinner
On 1/20/2010 3:15 PM, Dominic Watson wrote: Something else to look at is jConsole. It comes with the Java SDK and will let you look at any java app's memory, thread and cpu usage in detail (you'll need to change jrun's JVM args to have it report those stats). So if I am understanding

Re: ColdFusion|JRun CPU and|or memory problem.

2010-01-21 Thread Dave Watts
Are there in considerations to this because we are running ColdFusion in a multi-home configuration?  Is putting this argument in that one configuration file going to effect all the JRun instances?  Once each one is restarted of course.  We are using a default multi-home configuration, we

Re: ColdFusion|JRun CPU and|or memory problem.

2010-01-21 Thread Ian Skinner
On 1/21/2010 11:24 AM, Dave Watts wrote: Yes, changing jvm.config will affect all instances by default. I recommend that you configure the specific instance in question to use a different jvm.config, which is very easy to do, and then just change that jvm.config.

Re: ColdFusion|JRun CPU and|or memory problem.

2010-01-21 Thread Ian Skinner
On 1/21/2010 11:00 AM, Ian Skinner wrote: So if I am understanding your comment and the documentation I just need to add this argument to the VM Arguments line in the jvm.config file in our E:\JRun4\bin folder. Well, I tried to add the JConsole hook to the JVM and I got the following

Re: ColdFusion|JRun CPU and|or memory problem.

2010-01-21 Thread Dave Watts
Well, that is probably the better solution, but for my first experiment, I just planned to restart one instance, so I presume only that instance would get the new settings.  At least until such a time as the whole server was restarted or something. Yes, that's correct. Dave Watts, CTO, Fig

RE: ColdFusion|JRun CPU and|or memory problem.

2010-01-21 Thread brad
The difficult part of my job is that I administer the ColdFusion server, but I am not allowed direct access to the server. Yeah, those sort of setups suck because you can't just get in and do what you need to. The problem with a couple isolated readings of memory usage without a reference

RE: ColdFusion|JRun CPU and|or memory problem.

2010-01-21 Thread brad
Questions like that hard to answer generically. In general, you need to add some GC args to take a look at your garbage collections and how often they are running as well as how much memory you generally use. (jConsole will also be a good step) Chances are, if your server has enough RAM and

Re: ColdFusion|JRun CPU and|or memory problem.

2010-01-21 Thread Maureen
Did anything change with the configuration of the server on January 5? Java update, maybe? Most of the time I've found that problems like this are related to either a large data query that is hanging or timing out, and not notifying the Coldfusion server. Or a program that has an infinite loop

Re: ColdFusion|JRun CPU and|or memory problem.

2010-01-21 Thread Ian Skinner
On 1/21/2010 2:56 PM, Maureen wrote: Did anything change with the configuration of the server on January 5? Java update, maybe? Only one application update, and no mater what we do with that application we can not trigger the condition. Most of the time I've found that problems like

Re: ColdFusion|JRun CPU and|or memory problem.

2010-01-21 Thread Ian Skinner
On 1/21/2010 2:41 PM, b...@bradwood.com wrote: In general, you need to add some GC args to take a look at your garbage collections and how often they are running as well as how much memory you generally use. (jConsole will also be a good step) An advice on what it takes to set up jConsole?

RE: ColdFusion|JRun CPU and|or memory problem.

2010-01-21 Thread brad
What are my options here? Is there an easier way to get to this thread information? JConsole is _not_ necessary to get a thread dump of your JVM. All you need for that is the snapshot tab in ColdFusion's built-in server monitor. JConsole will help you track your memory usage. If it were

RE: ColdFusion|JRun CPU and|or memory problem.

2010-01-21 Thread brad
I've been use the Trigger Snapshot function from the ColdFusion Monitor and I have been getting threads, but I am not, in my limited experience reading threads, I can see anything. In fact every thread dump I have done I have not seen a single thread processing and cfm or cfc code except

RE: ColdFusion|JRun CPU and|or memory problem.

2010-01-20 Thread Mark Kruger
Ian, Doing triage I always look at (in order). 1) client vars - are they stored in the registry? If so you could have an issue deleting that that shows up as the purge process starts hitting actual values to attempt to delete. 2) DB issues - Trouble on the DB spells trouble for the CF Server

Re: ColdFusion|JRun CPU and|or memory problem.

2010-01-20 Thread Mark Mandel
First of all - having memory tracking enabled in your production server is going to make it crawl ;o) I would start with thread dumps. You can do this through the monitor (there is a snapshot feature that I believe does this), although setting up a cron job or similar to fire the Java

Re: ColdFusion|JRun CPU and|or memory problem.

2010-01-20 Thread Ian Skinner
On 1/20/2010 1:57 PM, Mark Mandel wrote: First of all - having memory tracking enabled in your production server is going to make it crawl ;o) Well, this is an Intranet web server that has a minimal load probably measured in a dozen or two simultaneous requests at most. So while the

RE: ColdFusion|JRun CPU and|or memory problem.

2010-01-20 Thread brad
Is the jrun process specifically consuming the CPU usage, or is another process using it? Is SQL Server or any thing else also running on this box? Also, how much memory does jrun usually use? What are you min and max heap arguments? Windows may have 1 Gig allocated to jrun, but you may only

Re: ColdFusion|JRun CPU and|or memory problem.

2010-01-20 Thread Mark Mandel
On Thu, Jan 21, 2010 at 9:51 AM, Ian Skinner h...@ilsweb.com wrote: First of all - having memory tracking enabled in your production server is going to make it crawl ;o) Well, this is an Intranet web server that has a minimal load probably measured in a dozen or two simultaneous

Re: ColdFusion|JRun CPU and|or memory problem.

2010-01-20 Thread Dominic Watson
Something else to look at is jConsole. It comes with the Java SDK and will let you look at any java app's memory, thread and cpu usage in detail (you'll need to change jrun's JVM args to have it report those stats). Something like SeeFusion will have some more ColdFusion specific stuff (long

Re: ColdFusion|JRun CPU and|or memory problem.

2010-01-20 Thread Ian Skinner
On 1/20/2010 3:03 PM, b...@bradwood.com wrote: Is the jrun process specifically consuming the CPU usage, or is another process using it? Is SQL Server or any thing else also running on this box? Yes, looking at the task manager we clearly see one of the JRun services spinning at 50%

Re: ColdFusion|JRun CPU and|or memory problem.

2010-01-20 Thread Mark Mandel
+1 to Dominic Very useful tool! and can be setup so you can access the server remotely - it doesn't have to run on the same server. Mark On Thu, Jan 21, 2010 at 10:15 AM, Dominic Watson watson.domi...@googlemail.com wrote: Something else to look at is jConsole. It comes with the Java SDK

RE: ColdFusion|JRun CPU and|or memory problem.

2010-01-20 Thread brad
Yes, looking at the task manager we clearly see one of the JRun services spinning at 50% (we have a 2 cpu server). In that case, I would focus in on getting some stack traces of exactly what your server is doing while experiencing these problems. That can be done easily cfom the CF server

RE: ColdFusion|JRun CPU and|or memory problem.

2010-01-20 Thread Mark Kruger
...@bradwood.com [mailto:b...@bradwood.com] Sent: Wednesday, January 20, 2010 5:04 PM To: cf-talk Subject: RE: ColdFusion|JRun CPU and|or memory problem. Is the jrun process specifically consuming the CPU usage, or is another process using it? Is SQL Server or any thing else also running on this box